diff --git a/BlacksmithWorkshop/BlacksmithListImplement/Implements/OrderStorage.cs b/BlacksmithWorkshop/BlacksmithListImplement/Implements/OrderStorage.cs index 004c4af..94eef7c 100644 --- a/BlacksmithWorkshop/BlacksmithListImplement/Implements/OrderStorage.cs +++ b/BlacksmithWorkshop/BlacksmithListImplement/Implements/OrderStorage.cs @@ -102,17 +102,5 @@ namespace BlacksmithWorkshopListImplement.Implements } return null; } - //private OrderViewModel AttachManufactureName(OrderViewModel model) - //{ - // foreach (var manufacture in _source.Manufactures) - // { - // if (manufacture.Id == model.ManufactureId) - // { - // model.ManufactureName = manufacture.ManufactureName; - // return model; - // } - // } - // return model; - //} } } diff --git a/BlacksmithWorkshop/BlacksmithListImplement/Models/Order.cs b/BlacksmithWorkshop/BlacksmithListImplement/Models/Order.cs index a4671a0..87b93e2 100644 --- a/BlacksmithWorkshop/BlacksmithListImplement/Models/Order.cs +++ b/BlacksmithWorkshop/BlacksmithListImplement/Models/Order.cs @@ -48,12 +48,7 @@ namespace BlacksmithWorkshopListImplement.Models { return; } - ManufactureId = model.ManufactureId; - ManufactureName = model.ManufactureName; - Count = model.Count; - Sum = model.Sum; Status = model.Status; - DateCreate = model.DateCreate; DateImplement = model.DateImplement; } public OrderViewModel GetViewModel => new()