проверка модели перед сменой статуса
This commit is contained in:
parent
58fb2e9e43
commit
1e731e1077
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user