feat: add create teller component (#591)

Fixes: #160
This commit is contained in:
Ashutosh Sharma
2020-05-13 11:13:37 +05:30
committed by GitHub
parent 0790ee893e
commit 519ef0f40d
8 changed files with 223 additions and 2 deletions
@@ -159,6 +159,14 @@ export class OrganizationService {
return this.http.delete(`/tellers/${tellerId}`);
}
/**
* @param {any} teller Teller to be created.
* @returns {Observable<any>}
*/
createTeller(teller: any): Observable<any> {
return this.http.post('/tellers', teller);
}
/**
* @returns {Observable<any>} Payment Types data
*/