исправление получения id изделия
This commit is contained in:
parent
311a7a0491
commit
c58f9e230a
@ -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