This commit is contained in:
Inohara 2023-04-09 14:50:08 +04:00
parent 1d31c88b76
commit b489c47251

View File

@ -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");