From 558cf3541a1eaf78d0b160d68ebc11a9331b1351 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=92=D0=BB=D0=B0=D0=B4=D0=B8=D0=BC=D0=B8=D1=80=20=D0=94?= =?UTF-8?q?=D0=B0=D0=BD=D0=B8=D0=BB=D0=BE=D0=B2?= Date: Thu, 30 May 2024 06:09:31 +0400 Subject: [PATCH] =?UTF-8?q?=D0=92=D0=B8=D0=B7=D1=83=D0=B0=D0=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../MailWorker/AbstractMailWorker.cs | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/VeterinaryClinic/VeterinaryClinicBusinessLogics/MailWorker/AbstractMailWorker.cs b/VeterinaryClinic/VeterinaryClinicBusinessLogics/MailWorker/AbstractMailWorker.cs index 3d73300..3ac4c11 100644 --- a/VeterinaryClinic/VeterinaryClinicBusinessLogics/MailWorker/AbstractMailWorker.cs +++ b/VeterinaryClinic/VeterinaryClinicBusinessLogics/MailWorker/AbstractMailWorker.cs @@ -85,20 +85,6 @@ namespace VeterinaryClinicBusinessLogics.MailWorker { return; } - if (string.IsNullOrEmpty(info.MailAddress)) - { - _logger.LogWarning("MailAddress is null or empty"); - } - - if (string.IsNullOrEmpty(info.Subject)) - { - _logger.LogWarning("Subject is null or empty"); - } - - if (string.IsNullOrEmpty(info.Path)) - { - _logger.LogWarning("Path is null or empty"); - } if (string.IsNullOrEmpty(info.MailAddress) || string.IsNullOrEmpty(info.Subject) || string.IsNullOrEmpty(info.Path)) { return;