Ну это точно все

This commit is contained in:
dasha 2023-02-12 14:58:35 +04:00
parent 5cf4115a8e
commit b95a2c4173

View File

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