feat: add create client page (#1153)

Fixes: #215
This commit is contained in:
Karan Takalkar
2020-07-24 16:32:58 +05:30
committed by GitHub
parent cb62fefbfa
commit 9c15545cd4
28 changed files with 1713 additions and 6 deletions
+4
View File
@@ -45,6 +45,10 @@ export class ClientsService {
return this.http.get(`/clients/${clientId}`);
}
createClient(client: any) {
return this.http.post(`/clients`, client);
}
updateClient(clientId: string, client: any) {
return this.http.put(`/clients/${clientId}`, client);
}