public IQueryable <T> All <T>() where T : Entity { return(_context.Set <T>().AsQueryable()); }
public FoodOrderRepository(FoodOrderContext context) { _dbSet = context.Set <TEntity>(); }