コード例 #1
0
 public AccountController(Final_Db context,
                          UserManager <ApplicationUser> userManager,
                          SignInManager <ApplicationUser> signInManager,
                          IHostingEnvironment env)
 {
     _context       = context;
     _userManager   = userManager;
     _signInManager = signInManager;
     _env           = env;
 }
コード例 #2
0
 public HomeController(Final_Db context, RoleManager <IdentityRole> roleManager, UserManager <ApplicationUser> userManager)
 {
     _context     = context;
     _roleManager = roleManager;
     _userManager = userManager;
 }
コード例 #3
0
 public NewsController(Final_Db context, IHostingEnvironment env)
 {
     _context = context;
     _env     = env;
 }
コード例 #4
0
 public AjaxController(Final_Db context)
 {
     _context = context;
 }