committed by
Abhay Chawla
parent
d4281628ea
commit
d6edcf0554
@@ -107,6 +107,22 @@ export class OrganizationService {
|
||||
return this.http.get('/tellers');
|
||||
}
|
||||
|
||||
/**
|
||||
* @param {string} tellerId Teller ID of teller.
|
||||
* @returns {Observable<any>} Teller.
|
||||
*/
|
||||
getTeller(tellerId: string): Observable<any> {
|
||||
return this.http.get(`/tellers/${tellerId}`);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param {string} tellerId Teller ID of teller to be deleted.
|
||||
* @returns {Observable<any>}
|
||||
*/
|
||||
deleteTeller(tellerId: string): Observable<any> {
|
||||
return this.http.delete(`/tellers/${tellerId}`);
|
||||
}
|
||||
|
||||
/**
|
||||
* @returns {Observable<any>} Payment Types data
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user