public UsersController(
     IUnitOfWork uw,
     INotifyHub notifyHub,
     IMapper mapper
     )
 {
     this.uw        = uw;
     this.notifyHub = notifyHub;
     this.mapper    = mapper;
 }
Exemple #2
0
 public AccountController(
     UserManager <ApplicationUser> userManager,
     SignInManager <ApplicationUser> signInManager,
     IIdentityServerInteractionService interaction,
     INotifyHub notifyHub,
     ILogger <AccountController> logger
     )
 {
     googleSettings = new ValidationSettings()
     {
         Audience = new string[] { Startup.Configuration["GOOGLE_CLIENT_ID"] }
     };
     this.userManager   = userManager;
     this.signInManager = signInManager;
     this.interaction   = interaction;
     this.notifyHub     = notifyHub;
     this.logger        = logger;
 }