public IEnumerable <OrderFood> GetFoodOrders() { return(_repository.GetAllFoodOrders()); }
public IEnumerable <OrderFood> FoodOrders() { return(_repository.GetAllFoodOrders().Where(q => q.CustomerEmail == _email)); }
public IEnumerable <OrderFood> GetFoodOrders() { return(_repository.GetAllFoodOrders()); }
public IEnumerable <OrderFood> FoodOrders() { return(_repository.GetAllFoodOrders().Where(q => q.CustomerEmail == _email)); }