committed by
Abhay Chawla
parent
4234208539
commit
0991df4b18
@@ -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
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user