Esempio n. 1
0
 public OperatorsController(
     IOperatorUseCase operatorUseCase,
     IAuthorizationUseCase authorizationUseCase,
     UserManager <ApplicationUser> userManager)
 {
     this.operatorService = new OperatorService(operatorUseCase, authorizationUseCase, userManager);
 }
Esempio n. 2
0
 public AccountService(
     SignInManager <ApplicationUser> signInManager,
     IAccountsUseCase accountsUseCase,
     IAuthorizationUseCase authorizationUseCase)
 {
     this.signInManager        = signInManager;
     this.accountsUseCase      = accountsUseCase;
     this.authorizationUseCase = authorizationUseCase;
 }
Esempio n. 3
0
 public OperatorService(
     IOperatorUseCase operatorUseCase,
     IAuthorizationUseCase authorizationUseCase,
     UserManager <ApplicationUser> userManager)
 {
     this.operatorUseCase      = operatorUseCase;
     this.authorizationUseCase = authorizationUseCase;
     this.userManager          = userManager;
 }
Esempio n. 4
0
 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);
 }