Bogdanov D.S. LabWork07 #7

Closed
the wants to merge 6 commits from LabWork07 into LabWork06
Showing only changes of commit 38f143c3b9 - Show all commits

View File

@ -43,9 +43,9 @@ namespace ComputerShopBusinessLogic.BusinessLogics
{
model.Status = OrderStatus.Неизвестен;
_logger.LogWarning("Insert operation failed");
SendOrderStatusMail(result.ClientId, $"Новый заказ создан. Номер заказа #{result.Id}", $"Заказ #{result.Id} от {result.DateCreate} на сумму {result.Sum:0.00} принят");
return false;
}
SendOrderStatusMail(result.ClientId, $"Новый заказ создан. Номер заказа #{result.Id}", $"Заказ #{result.Id} от {result.DateCreate} на сумму {result.Sum:0.00} принят");
return true;
}