created new repo for tag and contact category mastes
This commit is contained in:
parent
40df12de86
commit
cd21bc14ff
@ -41,9 +41,19 @@ export const MasterRespository = {
|
|||||||
"Activity": ( id ) => api.delete( `/api/master/activity/delete/${ id }` ),
|
"Activity": ( id ) => api.delete( `/api/master/activity/delete/${ id }` ),
|
||||||
"Application Role":(id)=>api.delete(`/api/roles/${id}`),
|
"Application Role":(id)=>api.delete(`/api/roles/${id}`),
|
||||||
"Work Category": ( id ) => api.delete( `api/master/work-category/${ id }` ),
|
"Work Category": ( id ) => api.delete( `api/master/work-category/${ id }` ),
|
||||||
|
"Contact Category": ( id ) => api.delete( `/api/master/contact-category` ),
|
||||||
|
"Conatct Tag" :(id)=>api.delete("/api/master/contact-tag"),
|
||||||
|
|
||||||
getWorkCategory:() => api.get(`/api/master/work-categories`),
|
getWorkCategory:() => api.get(`/api/master/work-categories`),
|
||||||
createWorkCategory: (data) => api.post(`/api/master/work-category`,data),
|
createWorkCategory: (data) => api.post(`/api/master/work-category`,data),
|
||||||
updateWorkCategory: ( id, data ) => api.post( `/api/master/work-category/edit/${ id }`, data ),
|
updateWorkCategory: ( id, data ) => api.post( `/api/master/work-category/edit/${ id }`, data ),
|
||||||
|
|
||||||
|
getContactCategory: () => api.get( `/api/master/contact-categories` ),
|
||||||
|
createContactCategory: (data ) => api.post( `/api/master/contact-category`, data ),
|
||||||
|
updateContactCategory: ( id, data ) => api.post( `/api/master/contact-category/${ id }`, data ),
|
||||||
|
|
||||||
|
getContactTag: () => api.get( `/api/master/contact-tag` ),
|
||||||
|
createContactTag: (data ) => api.post( `/api/master/contact-tag`, data ),
|
||||||
|
updateContactTag: ( id, data ) => api.post( `/api/master/contact-tag/${ id }`, data )
|
||||||
|
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user