This commit is contained in:
Калышев Ян 2023-02-17 15:55:38 +04:00
parent 72fb36cc95
commit 6728431410
2 changed files with 0 additions and 17 deletions

View File

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

View File

@ -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()