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