Esempio n. 1
0
 public static Order GetOrder(Food food, ICollection <Ingredient> customIngredients = null) => new Order
 {
     FoodOrder = new List <FoodOrder>
     {
         FoodOrderService.GetFoodOrderGuidOnly(food, customIngredients)
     }
 };
Esempio n. 2
0
 public static Order GetOrder(ICollection <FoodOrder> foodsOrder) => new Order
 {
     FoodOrder = FoodOrderService.ParseGuidOnly(foodsOrder)
 };