lab2
This commit is contained in:
parent
def5688c01
commit
a664753a21
@ -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…
x
Reference in New Issue
Block a user