Exemple #1
0
 public RegisterModel(
     UserManager<IdentityUser> userManager,
     SignInManager<IdentityUser> signInManager,
     ILogger<RegisterModel> logger,
     IEmailSender emailSender,
     CleanModeContext context)
 {
     _userManager = userManager;
     _signInManager = signInManager;
     _logger = logger;
     _emailSender = emailSender;
     _context = context;
 }
 public QuotesAdminController(CleanModeContext context, RoleManager <IdentityRole> roleManager, UserManager <IdentityUser> userManager)
 {
     _context         = context;
     this.roleManager = roleManager;
     this.userManager = userManager;
 }