ISEbd-21 Melnikov I. O. Lab work 01 Base #1
@ -36,7 +36,10 @@ namespace BlacksmithWorkshopListImplement.Implements
|
||||
{
|
||||
if (model.Id.HasValue && order.Id == model.Id)
|
||||
{
|
||||
result.Add(order.GetViewModel);
|
||||
OrderViewModel vm = order.GetViewModel;
|
||||
var manufacture = _source.Manufactures.Find(x => x.Id == order.ManufactureId);
|
||||
vm.ManufactureName = manufacture?.ManufactureName ?? string.Empty;
|
||||
result.Add(vm);
|
||||
}
|
||||
}
|
||||
return result;
|
||||
|
Loading…
Reference in New Issue
Block a user