public UnitOfWork(BenefitsDbContext dbContext) { _context = dbContext; Employees = new EmployeeRepository(_context); Benefits = new BenefitRepository(_context); }
public EmployeeRepository(BenefitsDbContext context) : base(context) { }
public Repository(BenefitsDbContext dbContext) { _context = dbContext; }
public BenefitRepository(BenefitsDbContext context) : base(context) { }