This commit is contained in:
kamilia 2024-06-21 14:02:46 +04:00
parent e56dbb7f4b
commit 86427cd141

View File

@ -159,11 +159,11 @@ namespace AircraftPlantListImplement.Implements
private OrderViewModel GetViewModel(Order order)
{
var viewModel = order.GetViewModel;
foreach (var sushi in _source.Planes)
foreach (var plane in _source.Planes)
{
if (sushi.Id == order.PlaneId)
if (plane.Id == order.PlaneId)
{
viewModel.PlaneName = sushi.PlaneName;
viewModel.PlaneName = plane.PlaneName;
break;
}
}