Tsukanova_I.V. LabWork06_base #8
@ -131,7 +131,7 @@ namespace IceCreamBusinessLogic.BusinessLogics
|
||||
}
|
||||
model.Status = newStatus;
|
||||
if (model.Status == OrderStatus.Выдан) model.DateImplement = DateTime.Now;
|
||||
if (_orderStorage. (model) == null)
|
||||
if (_orderStorage.Update(model) == null)
|
||||
{
|
||||
model.Status--;
|
||||
_logger.LogWarning("Update operation failed");
|
||||
|
Loading…
Reference in New Issue
Block a user