refactoring

This commit is contained in:
병준 박 2022-08-25 05:47:27 +00:00
parent d8d79fa2ba
commit 14c94ff353

View File

@ -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();
}
}