diff --git a/src/repositories/DirectoryRepository.jsx b/src/repositories/DirectoryRepository.jsx index f1925efc..1ce8b823 100644 --- a/src/repositories/DirectoryRepository.jsx +++ b/src/repositories/DirectoryRepository.jsx @@ -1,5 +1,8 @@ import {api} from "../utils/axiosClient"; 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`) } \ No newline at end of file