public UnitOfWork(BenefitsDbContext dbContext)
        {
            _context = dbContext;

            Employees = new EmployeeRepository(_context);
            Benefits  = new BenefitRepository(_context);
        }
 public EmployeeRepository(BenefitsDbContext context) : base(context)
 {
 }
示例#3
0
 public Repository(BenefitsDbContext dbContext)
 {
     _context = dbContext;
 }
 public BenefitRepository(BenefitsDbContext context) : base(context)
 {
 }