refactoring
This commit is contained in:
parent
d8d79fa2ba
commit
14c94ff353
|
@ -215,30 +215,3 @@ export class BanksResolver implements Resolve<any> {
|
||||||
return this._bankService.listBanks();
|
return this._bankService.listBanks();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
export class MemberLevelsResolver implements Resolve<any> {
|
|
||||||
/**
|
|
||||||
* Constructor
|
|
||||||
*/
|
|
||||||
constructor(private _memberLevelService: MemberLevelService) {}
|
|
||||||
|
|
||||||
// -----------------------------------------------------------------------------------------------------
|
|
||||||
// @ Public methods
|
|
||||||
// -----------------------------------------------------------------------------------------------------
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Resolver
|
|
||||||
*
|
|
||||||
* @param route
|
|
||||||
* @param state
|
|
||||||
*/
|
|
||||||
resolve(
|
|
||||||
route: ActivatedRouteSnapshot,
|
|
||||||
state: RouterStateSnapshot
|
|
||||||
):
|
|
||||||
| Observable<ListMemberLevelsResponse.Result>
|
|
||||||
| Promise<ListMemberLevelsResponse.Result>
|
|
||||||
| ListMemberLevelsResponse.Result {
|
|
||||||
return this._memberLevelService.listMemberLevels();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user