From 38f143c3b94e646bae997924ee7d6b0156151201 Mon Sep 17 00:00:00 2001 From: the Date: Thu, 20 Apr 2023 23:32:43 +0400 Subject: [PATCH] =?UTF-8?q?=D0=9A=D0=B0=D0=BA=D0=B8=D0=BC=20=D0=BE=D0=B1?= =?UTF-8?q?=D1=80=D0=B0=D0=B7=D0=BE=D0=BC=20=D1=8D=D1=82=D0=BE=20=D0=B2?= =?UTF-8?q?=D0=BE=D0=BE=D0=B1=D1=89=D0=B5=20=D1=82=D0=B0=D0=BC=20=D0=BE?= =?UTF-8?q?=D0=BA=D0=B0=D0=B7=D0=B0=D0=BB=D0=BE=D1=81=D1=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ComputerShopBusinessLogic/BusinessLogics/OrderLogic.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ComputerShopBusinessLogic/BusinessLogics/OrderLogic.cs b/ComputerShopBusinessLogic/BusinessLogics/OrderLogic.cs index f7c54d2..cecc0b7 100644 --- a/ComputerShopBusinessLogic/BusinessLogics/OrderLogic.cs +++ b/ComputerShopBusinessLogic/BusinessLogics/OrderLogic.cs @@ -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; }