PIbd-22. Safiulova K.N. LabWork_03_hard #15

Closed
safiulova.k wants to merge 11 commits from LabWork_03_hard into LabWork_02_hard
Showing only changes of commit 86427cd141 - Show all commits

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