Пример #1
0
 public UnitOfWork(HardwareInventoryContext context)
 {
     _context       = context;
     Components     = new ComponentRepository(_context);
     ComponentTypes = new ComponentTypeRepository(_context);
 }
Пример #2
0
 public ComponentRepository(HardwareInventoryContext context) : base(context)
 {
 }