public UnitofWork() { _context = new TechDbContext(); Persons = new PersonRepository(_context); Colors = new ColourRepository(_context); }
public PersonRepository(TechDbContext context) : base(context) { }
public ColourRepository(TechDbContext context) : base(context) { }
public Repository(TechDbContext context) { Context = context; }