PIbd-22. Safiulova K.N. LabWork_02_base #2

Closed
safiulova.k wants to merge 2 commits from LabWork_02 into LabWork_01
Showing only changes of commit a664753a21 - Show all commits

View File

@ -77,10 +77,7 @@ namespace AircraftPlantFileImplement.Implements
{
var viewModel = order.GetViewModel;
var plane = _source.Planes.FirstOrDefault(x => x.Id == order.PlaneId);
if (plane != null)
{
viewModel.PlaneName = plane.PlaneName;
}
viewModel.PlaneName = plane?.PlaneName;
return viewModel;
}
}