forked from ddrilling/AsbCloudServer
This commit is contained in:
parent
db01a99633
commit
de54067344
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user