added api's for fetching projects by employee and update project assigning for employee
This commit is contained in:
parent
376ead7967
commit
0b99238fa8
@ -21,6 +21,9 @@ const ProjectRepository = {
|
||||
|
||||
updateProject: (id, data) => api.put(`/api/project/update/${id}`, data),
|
||||
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