feat: add create employee component (#527)

Fixes: #157
This commit is contained in:
punwai
2020-01-01 11:24:44 +03:00
committed by Abhay Chawla
parent 0991df4b18
commit 8fc6dba1a9
8 changed files with 227 additions and 7 deletions
@@ -47,6 +47,14 @@ export class OrganizationService {
return this.http.get('/staff');
}
/**
* @param {any} employee Employee to be created.
* @returns {Observable<any>}
*/
createEmployee(employee: any): Observable<any> {
return this.http.post('/staff', employee);
}
/**
* @returns {Observable<any>} Currencies data
*/