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)
 {
 }