public GenericRepository(EFFirstContext context) { this.context = context; dbset = context.Set <T>(); }
public UnitOfWork() { _context = new EFFirstContext(); }