public UserManagementController( ApplicationDbContext dbContext, CBIBContext CBIBContext, UserManager <ApplicationUser> userManager, RoleManager <IdentityRole> roleManager) { _dbContext = dbContext; _CBIBContext = CBIBContext; _userManager = userManager; _roleManager = roleManager; }
public AccountController( UserManager <ApplicationUser> userManager, SignInManager <ApplicationUser> signInManager, IOptions <IdentityCookieOptions> identityCookieOptions, IEmailSender emailSender, ISmsSender smsSender, ILoggerFactory loggerFactory, CBIBContext context) { _userManager = userManager; _signInManager = signInManager; _externalCookieScheme = identityCookieOptions.Value.ExternalCookieAuthenticationScheme; _emailSender = emailSender; _smsSender = smsSender; _logger = loggerFactory.CreateLogger <AccountController>(); _context = context; }
public AuthorsController(CBIBContext context, UserManager <ApplicationUser> userManager) { _context = context; _userManager = userManager; }
public HomeController(CBIBContext CBIBContext) { _CBIBContext = CBIBContext; }
public JournalsController(CBIBContext context, UserManager <ApplicationUser> userManager, IHostingEnvironment environment) { _context = context; _userManager = userManager; _environment = environment; }