created new method for directoryRepository - CreateNote
This commit is contained in:
parent
038ff416e1
commit
7514e73d0c
@ -5,7 +5,9 @@ export const DirectoryRepository = {
|
|||||||
CreateContact: ( data ) => api.post( '/api/directory', data ),
|
CreateContact: ( data ) => api.post( '/api/directory', data ),
|
||||||
UpdateContact:(id,data)=>api.put(`/api/directory/${id}`,data),
|
UpdateContact:(id,data)=>api.put(`/api/directory/${id}`,data),
|
||||||
|
|
||||||
GetBucktes: () => api.get( `/api/Directory/buckets` ),
|
GetBucktes: () => api.get( `/api/directory/buckets` ),
|
||||||
|
|
||||||
GetContactProfile:(id)=>api.get(`/api/Directory/profile/${id}`)
|
GetContactProfile: ( id ) => api.get( `/api/directory/profile/${ id }` ),
|
||||||
|
|
||||||
|
CreateNote:(data)=>api.post('/api/directory/note',data)
|
||||||
}
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user