Ну это точно все
This commit is contained in:
parent
5cf4115a8e
commit
b95a2c4173
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user