public AccountController(UserManager <ApplicationUser> userManager, SignInManager <ApplicationUser> signInManager, RoleManager <IdentityRole> roleManager, IHostingEnvironment _hostingEnvironment, IRandomFileName _randomFile) { _userManager = userManager; _signInManager = signInManager; _roleManager = roleManager; hostingEnvironment = _hostingEnvironment; randomFile = _randomFile; }
public EmployeeController(PayrollDbContext dbContext, IHostingEnvironment hosting, IRandomFileName randomFileName) { _payrollDb = dbContext; hostingEnvironment = hosting; randomFile = randomFileName; }