import api from "./client";

export const createEmployee = (payload) => api.post("/employees", payload);
export const getEmployees = () => api.get("/employees");
export const updateEmployee = (id, payload) =>
  api.put(`/employees/${id}`, payload);
export const deleteEmployee = (id) => api.delete(`/employees/${id}`);

