Beispiel #1
0
 public UnitOfWork(PersonnelDbContext context)
 {
     _context   = context;
     Personnel  = new PersonnelRepository(_context);
     Department = new DepartmentRepository(_context);
 }
Beispiel #2
0
 public DepartmentRepository(PersonnelDbContext context) : base(context)
 {
 }
Beispiel #3
0
 public PersonnelRepository(PersonnelDbContext context) : base(context)
 {
 }