save base

This commit is contained in:
Sergey Kozyrev 2024-03-05 14:02:54 +04:00
parent 32bd22a63e
commit 527a8e2931

View File

@ -96,9 +96,9 @@ namespace SewingDressesListImplement.Implements
} }
public OrderViewModel AcessDressesStorage(OrderViewModel model) 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; model.DressName = dress.DressName;
break; break;