public OperatorsController( IOperatorUseCase operatorUseCase, IAuthorizationUseCase authorizationUseCase, UserManager <ApplicationUser> userManager) { this.operatorService = new OperatorService(operatorUseCase, authorizationUseCase, userManager); }
public AccountService( SignInManager <ApplicationUser> signInManager, IAccountsUseCase accountsUseCase, IAuthorizationUseCase authorizationUseCase) { this.signInManager = signInManager; this.accountsUseCase = accountsUseCase; this.authorizationUseCase = authorizationUseCase; }
public OperatorService( IOperatorUseCase operatorUseCase, IAuthorizationUseCase authorizationUseCase, UserManager <ApplicationUser> userManager) { this.operatorUseCase = operatorUseCase; this.authorizationUseCase = authorizationUseCase; this.userManager = userManager; }
public AccountsController( IAccountsUseCase accountsUseCase, IAuthorizationUseCase authorizationUseCase, UserManager <ApplicationUser> userManager, SignInManager <ApplicationUser> signInManager, ILoggerFactory loggerFactory, IOptions <UrlSettings> optionsAccessor) { this.accountsUseCase = accountsUseCase; this.authorizationUseCase = authorizationUseCase; this.userManager = userManager; this.logger = loggerFactory.CreateLogger <AccountsController>(); this.signInManager = signInManager; this.Options = optionsAccessor.Value; this.accountService = new AccountService( this.signInManager, accountsUseCase, authorizationUseCase); }