fixes
This commit is contained in:
parent
72fb36cc95
commit
6728431410
@ -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;
|
||||
//}
|
||||
}
|
||||
}
|
||||
|
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user