committed by
Abhay Chawla
parent
d18097107a
commit
6c7e8ad7ba
@@ -151,4 +151,12 @@ export class ClientsService {
|
||||
getClientAddressTemplate() {
|
||||
return this.http.get(`/client/addresses/template`);
|
||||
}
|
||||
|
||||
createClientAddress(clientId: string, addressTypeId: string, addressData: any) {
|
||||
return this.http.post(`/client/${clientId}/addresses?type=${addressTypeId}`, addressData);
|
||||
}
|
||||
|
||||
editClientAddress(clientId: string, addressTypeId: string, addressData: any) {
|
||||
return this.http.put(`/client/${clientId}/addresses?type=${addressTypeId}`, addressData);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user