PIbd-22_Gerimovich.I.M._Furniture_Assembly_LabWork2base #5

Closed
Gerimovich_Ilya wants to merge 3 commits from lab2base into lab1
Showing only changes of commit b09f8b490f - Show all commits

View File

@ -52,10 +52,7 @@ namespace FurnitureAssemblyFileImplement.Implements
var furniture = source.Furnitures.FirstOrDefault(x => x.Id == order.FurnitureId);
if (furniture != null)
{
viewModel.FurnitureName = furniture.FurnitureName;
}
viewModel.FurnitureName = furniture?.FurnitureName;
return viewModel;
}