From 86427cd141916f1d3fb8d224cbb8fef4304034c2 Mon Sep 17 00:00:00 2001 From: kamilia Date: Fri, 21 Jun 2024 14:02:46 +0400 Subject: [PATCH] =?UTF-8?q?=D0=BB=D0=BE=D0=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- AircraftPlant/AbstractShopListImplement/OrderStorage.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/AircraftPlant/AbstractShopListImplement/OrderStorage.cs b/AircraftPlant/AbstractShopListImplement/OrderStorage.cs index cdd1b93..6ae4819 100644 --- a/AircraftPlant/AbstractShopListImplement/OrderStorage.cs +++ b/AircraftPlant/AbstractShopListImplement/OrderStorage.cs @@ -159,11 +159,11 @@ namespace AircraftPlantListImplement.Implements private OrderViewModel GetViewModel(Order order) { var viewModel = order.GetViewModel; - foreach (var sushi in _source.Planes) + foreach (var plane in _source.Planes) { - if (sushi.Id == order.PlaneId) + if (plane.Id == order.PlaneId) { - viewModel.PlaneName = sushi.PlaneName; + viewModel.PlaneName = plane.PlaneName; break; } }