public AccountController(Final_Db context, UserManager <ApplicationUser> userManager, SignInManager <ApplicationUser> signInManager, IHostingEnvironment env) { _context = context; _userManager = userManager; _signInManager = signInManager; _env = env; }
public HomeController(Final_Db context, RoleManager <IdentityRole> roleManager, UserManager <ApplicationUser> userManager) { _context = context; _roleManager = roleManager; _userManager = userManager; }
public NewsController(Final_Db context, IHostingEnvironment env) { _context = context; _env = env; }
public AjaxController(Final_Db context) { _context = context; }