проверка модели перед сменой статуса

This commit is contained in:
Мк Игорь 2023-02-18 23:59:20 +04:00
parent 58fb2e9e43
commit 1e731e1077

View File

@ -31,6 +31,7 @@ namespace BlacksmithWorkShopBusinessLogic.BusinessLogics
}
public bool SetNewStatus(OrderBindingModel model, OrderStatus newstatus)
{
CheckModel(model, false);
OrderViewModel? vm = _orderStorage.GetElement(new()
{
Id = model.Id