public UnitOfWork(SampleContext context) { _context = context; }
public GenericRepository(SampleContext context) { _context = context; _dbSet = context.Set <T>(); }