feat: add create offices component (#525)

Fixes: #147
This commit is contained in:
Rishabh Verma
2019-12-31 00:33:01 +03:00
committed by Abhay Chawla
parent 4234208539
commit 0991df4b18
8 changed files with 198 additions and 6 deletions
@@ -32,6 +32,14 @@ export class OrganizationService {
return this.http.get('/offices');
}
/**
* @param {any} office Office to be created.
* @returns {Observable<any>}
*/
createOffice(office: any): Observable<any> {
return this.http.post('/offices', office);
}
/**
* @returns {Observable<any>} Employees data
*/