feat: add center actions (close and delete) (#1093)

Fixes: #1092
This commit is contained in:
Muskan Khedia
2020-07-14 16:15:48 +05:30
committed by GitHub
parent 96f881e909
commit ffea1b5eaf
10 changed files with 192 additions and 5 deletions
+4
View File
@@ -209,4 +209,8 @@ export class CentersService {
return this.http.get(`/groups/${centerId}`, { params: httpParams });
}
deleteCenter(centerId: any): Observable<any> {
return this.http.delete(`/centers/${centerId}`);
}
}