This commit is contained in:
ai.astrakhantsev 2022-09-12 09:11:20 +05:00
parent db01a99633
commit de54067344

View File

@ -195,7 +195,7 @@ namespace AsbCloudInfrastructure.Services
}
}
private void SendMessage(WellDto well, UserDto user, string documentCategory, string message, CancellationToken token)
private void SendMessage(WellDto? well, UserDto user, string documentCategory, string message, CancellationToken token)
{
var factory = new WellFinalDocumentMailBodyFactory(configuration);
var subject = factory.MakeSubject(well, documentCategory);
@ -203,7 +203,7 @@ namespace AsbCloudInfrastructure.Services
emailService.EnqueueSend(user.Email, subject, body);
}
private WellFinalDocumentDBDto Convert(WellFinalDocument entity)
private static WellFinalDocumentDBDto Convert(WellFinalDocument entity)
=> entity.Adapt<WellFinalDocumentDBDto>();
}
#nullable disable