added create contact and get bucket api in Directory repo
This commit is contained in:
parent
02492b0405
commit
f7c9c7c7ff
@ -2,4 +2,7 @@ import {api} from "../utils/axiosClient";
|
|||||||
|
|
||||||
export const DirectoryRepository = {
|
export const DirectoryRepository = {
|
||||||
GetContacts: () => api.get( '/api/directory' ),
|
GetContacts: () => api.get( '/api/directory' ),
|
||||||
|
CreateContact:(data)=>api.post('/api/directory',data),
|
||||||
|
|
||||||
|
GetBucktes:()=>api.get(`/api/Directory/buckets`)
|
||||||
}
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user