Ejemplo n.º 1
0
 public UserManagementController(
     ApplicationDbContext dbContext,
     CBIBContext CBIBContext,
     UserManager <ApplicationUser> userManager,
     RoleManager <IdentityRole> roleManager)
 {
     _dbContext   = dbContext;
     _CBIBContext = CBIBContext;
     _userManager = userManager;
     _roleManager = roleManager;
 }
Ejemplo n.º 2
0
 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;
 }
Ejemplo n.º 3
0
 public AuthorsController(CBIBContext context, UserManager <ApplicationUser> userManager)
 {
     _context     = context;
     _userManager = userManager;
 }
Ejemplo n.º 4
0
 public HomeController(CBIBContext CBIBContext)
 {
     _CBIBContext = CBIBContext;
 }
Ejemplo n.º 5
0
 public JournalsController(CBIBContext context, UserManager <ApplicationUser> userManager, IHostingEnvironment environment)
 {
     _context     = context;
     _userManager = userManager;
     _environment = environment;
 }