Beispiel #1
0
 public AccountsController(IUserManager userManager, IOptions <PasswordKeys> key, IOptions <AppSettings> appSettings)
 {
     this.userManager = userManager;
     this.key         = key.Value;
     this.appSettings = appSettings.Value;
 }
Beispiel #2
0
 public UsersController(IUserManager userManager, IMapper mapper, IOptions <PasswordKeys> key)
 {
     this.userManager = userManager;
     this.mapper      = mapper;
     this.key         = key.Value;
 }