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; } }