public DepartmentController(EmpAppDbContext Context)
 {
     _context = Context;
 }
Example #2
0
 public EmployeeService(EmpAppDbContext cont)
 {
     _context = cont;
 }
 public EmployeeService(EmpAppDbContext newDb)
 {
     dbContext = newDb;
 }
Example #4
0
 public AccountController(EmpAppDbContext dbNew, UserManager <IdentityUser> userManage, SignInManager <IdentityUser> signInManage)
 {
     _dbContext    = dbNew;
     _userManage   = userManage;
     _signInManage = signInManage;
 }
 public EmployeeTestCase(EmpAppDbContext newEmpDb)
 {
     _context = newEmpDb;
 }
Example #6
0
 public EmployeeController(EmpAppDbContext dbCon)
 {
     _context = dbCon;
 }