feat: add edit client page (#1147)

Fixes: #1146
This commit is contained in:
Karan Takalkar
2020-07-20 19:27:47 +05:30
committed by GitHub
parent 7aa26c64b2
commit 1587dcfe5d
9 changed files with 455 additions and 3 deletions
+4
View File
@@ -45,6 +45,10 @@ export class ClientsService {
return this.http.get(`/clients/${clientId}`);
}
updateClient(clientId: string, client: any) {
return this.http.put(`/clients/${clientId}`, client);
}
deleteClient(clientId: string) {
return this.http.delete(`/clients/${clientId}`);
}