From 527a8e2931f9e97d054cf764b82887b230f29f20 Mon Sep 17 00:00:00 2001 From: Sergey Kozyrev Date: Tue, 5 Mar 2024 14:02:54 +0400 Subject: [PATCH] save base --- .../SewingDressesListImplement/Implements/OrderStorage.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SewingDresses/SewingDressesListImplement/Implements/OrderStorage.cs b/SewingDresses/SewingDressesListImplement/Implements/OrderStorage.cs index ac8d62f..acb06fe 100644 --- a/SewingDresses/SewingDressesListImplement/Implements/OrderStorage.cs +++ b/SewingDresses/SewingDressesListImplement/Implements/OrderStorage.cs @@ -96,9 +96,9 @@ namespace SewingDressesListImplement.Implements } public OrderViewModel AcessDressesStorage(OrderViewModel model) { - foreach(var dress in _source.Dresses) + foreach (var dress in _source.Dresses) { - if (dress.Id == model.DressId) + if (dress.Id == model.DressId) { model.DressName = dress.DressName; break;