public AccountController(
     SignInManager <ApplicationUser> signInManager,
     ILogger <AccountController> logger,
     AccountControllerWorkerServices workerServices)
 {
     this.SignInManager  = signInManager ?? throw new ArgumentNullException(nameof(signInManager));
     this.Logger         = logger ?? throw new ArgumentNullException(nameof(logger));
     this.WorkerServices = workerServices ?? throw new ArgumentNullException(nameof(workerServices));
 }
Ejemplo n.º 2
0
 public AccountController(
     UserManager <ApplicationUser> userManager,
     SignInManager <ApplicationUser> signInManager,
     IEmailSender emailSender,
     ILogger <AccountController> logger,
     AccountControllerWorkerServices workerServices)
 {
     _userManager    = userManager;
     _signInManager  = signInManager;
     _emailSender    = emailSender;
     _logger         = logger;
     _workerServices = workerServices ?? throw new ArgumentNullException(nameof(workerServices));
 }