public GenericRepository(TestdbEntities context) { this.context = context; table = context.Set <T>(); }
public GenericRepository() { this.context = new TestdbEntities(); table = context.Set <T>(); }