示例#1
0
 public AdminController(ApplicationDbContext db, UserManager <ApplicationUser> userManager,
                        IPasswordResetNotificationSender emailSender, SignInManager <ApplicationUser> signInManager)
 {
     this.db            = db;
     this.userManager   = userManager;
     this.emailSender   = emailSender;
     this.signInManager = signInManager;
 }
 public AccountController(
     UserManager <ApplicationUser> userManager,
     SignInManager <ApplicationUser> signInManager,
     IIdentityServerInteractionService interaction,
     IClientStore clientStore,
     IAuthenticationSchemeProvider schemeProvider,
     IEventService events, IPasswordResetNotificationSender emailSender)
 {
     this.userManager    = userManager;
     this.signInManager  = signInManager;
     this.interaction    = interaction;
     this.clientStore    = clientStore;
     this.schemeProvider = schemeProvider;
     this.events         = events;
     this.emailSender    = emailSender;
 }