From b95a2c41731aab5af52915aad10d0a81e7c5d475 Mon Sep 17 00:00:00 2001 From: dasha Date: Sun, 12 Feb 2023 14:58:35 +0400 Subject: [PATCH] =?UTF-8?q?=D0=9D=D1=83=20=D1=8D=D1=82=D0=BE=20=D1=82?= =?UTF-8?q?=D0=BE=D1=87=D0=BD=D0=BE=20=D0=B2=D1=81=D0=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SushiBar/SushiBarListImplement/Implements/OrderStorage.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/SushiBar/SushiBarListImplement/Implements/OrderStorage.cs b/SushiBar/SushiBarListImplement/Implements/OrderStorage.cs index c6b6e64..3254155 100644 --- a/SushiBar/SushiBarListImplement/Implements/OrderStorage.cs +++ b/SushiBar/SushiBarListImplement/Implements/OrderStorage.cs @@ -56,11 +56,11 @@ namespace SushiBarListImplement.Implements private OrderViewModel GetViewModel(Order order) { var viewModel = order.GetViewModel; - foreach (var iceCream in _source.ListSushi) + foreach (var sushi in _source.ListSushi) { - if (iceCream.Id == order.SushiId) + if (sushi.Id == order.SushiId) { - viewModel.SushiName = iceCream.SushiName; + viewModel.SushiName = sushi.SushiName; break; } }