예제 #1
0
 public DashboardController(FinalProject_Db context, UserManager <ApplicationUser> userManager, IHostingEnvironment env, SignInManager <ApplicationUser> signInManager, IConfiguration configuration)
 {
     _context       = context;
     _userManager   = userManager;
     _signInManager = signInManager;
     _env           = env;
     _configuration = configuration;
 }
 public AjaxController(FinalProject_Db context)
 {
     _context = context;
 }
예제 #3
0
 public HomeController(FinalProject_Db context, RoleManager <IdentityRole> roleManager, UserManager <ApplicationUser> userManager)
 {
     _context     = context;
     _userManager = userManager;
     _roleManager = roleManager;
 }