no message

This commit is contained in:
kittapath 2024-10-29 17:48:41 +07:00
parent 248d400666
commit 6f3d6f9d72
12 changed files with 19409 additions and 75 deletions

View file

@ -234,6 +234,18 @@ namespace BMA.EHR.Application.Repositories.MessageQueue
}
}
public async Task PushEmailAsync(string Subject, string Body, string Email = "")
{
try
{
_emailSenderService.SendMail(Subject, Body, Email);
}
catch
{
throw;
}
}
public async Task PushNotificationsAsync(Guid[] ReceiverUserIds, string Subject, string Body, string Payload = "", string NotiLink = "", bool IsSendInbox = false, bool IsSendMail = false)
{
try