PIbd-22. Safiulova K.N. LabWork_02_base #2
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user