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