コード例 #1
0
 public AdminController(BankApiClient bankApiClient, UserManager <ApplicationUser> userManager,
                        RoleManager <IdentityRole> roleManager)
 {
     this.bankApiClient = bankApiClient;
     this.userManager   = userManager;
     this.roleManager   = roleManager;
 }
コード例 #2
0
        public BankApiClientFacade(IOptions <BankAPIConfig> signalRConfig)
        {
            var httpClient = new HttpClient();

            _bankApiClient = new BankApiClient(signalRConfig.Value.ServerUrl, httpClient);
        }
コード例 #3
0
 public CustomerLoginViewComponent(BankApiClient bankApiClient, UserManager <ApplicationUser> userManager)
 {
     this.userManager = userManager;
 }
コード例 #4
0
 public CustomerAccountsViewComponent(BankApiClient bankApiClient)
 {
     this.bankApiClient = bankApiClient;
 }