Визуал

This commit is contained in:
Владимир Данилов 2024-05-30 06:09:31 +04:00
parent 8b529366f0
commit 558cf3541a

View File

@ -85,20 +85,6 @@ namespace VeterinaryClinicBusinessLogics.MailWorker
{ {
return; 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)) if (string.IsNullOrEmpty(info.MailAddress) || string.IsNullOrEmpty(info.Subject) || string.IsNullOrEmpty(info.Path))
{ {
return; return;