исправление получения id изделия

This commit is contained in:
Мк Игорь 2023-02-17 22:49:36 +04:00
parent 311a7a0491
commit c58f9e230a

View File

@ -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);
}