public Repository(FoodContext context) { this.context = context; entities = context.Set <TEntity>(); }
public BaseRepository(FoodContext context) { this.context = context; this.dbSet = context.Set <TEntity>(); }
public Repository(FoodContext context) { this.context = context; entities = context.Set <TEntity>(); }
public BaseRepository(FoodContext context) { this.context = context; this.dbSet = context.Set <TEntity>(); }