2 lab done
This commit is contained in:
parent
93b6b479f9
commit
b09f8b490f
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user