added api's for fetching projects by employee and update project assigning for employee
This commit is contained in:
parent
7baffac11a
commit
74a5c05481
@ -20,7 +20,10 @@ const ProjectRepository = {
|
||||
deleteProjectTask:(id)=> api.delete(`/api/project/task/${id}`),
|
||||
|
||||
updateProject: (id, data) => api.put(`/api/project/update/${id}`, data),
|
||||
deleteProject: (id) => api.delete(`/projects/${id}`),
|
||||
deleteProject: ( id ) => api.delete( `/projects/${ id }` ),
|
||||
getProjectsByEmployee: ( id ) => api.get( `/api/project/assigned-projects/${ id }` ),
|
||||
|
||||
updatesAssignProject:(id,data)=>api.post(`/api/project/assign-projects/${id}`,data),
|
||||
};
|
||||
|
||||
export const TasksRepository = {
|
||||
|
Loading…
x
Reference in New Issue
Block a user