public GenericRepository(skinetContext context) { _context = context; }
private Hashtable _repositories; //any repository we use under unit of work will be store inside this hash table public UnitOfWork(skinetContext context) { _context = context; }
public ProductRepository(skinetContext context) { _context = context; }