diff --git a/BlacksmithWorkshop/BlacksmithWorkshopListImplement/Implements/OrderStorage.cs b/BlacksmithWorkshop/BlacksmithWorkshopListImplement/Implements/OrderStorage.cs index 8cb2fa6..a35e491 100644 --- a/BlacksmithWorkshop/BlacksmithWorkshopListImplement/Implements/OrderStorage.cs +++ b/BlacksmithWorkshop/BlacksmithWorkshopListImplement/Implements/OrderStorage.cs @@ -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); }