feat: add view employee component (#546)

Fixes: #534
This commit is contained in:
Rishabh Verma
2020-01-05 19:10:47 +03:00
committed by Abhay Chawla
parent 4ac086381f
commit df12a6b4ba
9 changed files with 198 additions and 2 deletions
@@ -55,6 +55,14 @@ export class OrganizationService {
return this.http.post('/staff', employee);
}
/**
* @param {string} employeeId Employee ID of employee.
* @returns {Observable<any>} Employee.
*/
getEmployee(employeeId: string): Observable<any> {
return this.http.get(`/staff/${employeeId}`);
}
/**
* @returns {Observable<any>} Currencies data
*/