2 lab done

This commit is contained in:
platoff aeeee 2024-04-28 14:57:49 +04:00
parent 93b6b479f9
commit b09f8b490f

View File

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