Визуал
This commit is contained in:
parent
8b529366f0
commit
558cf3541a
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user