Merge branch 'develop' into working
Some checks failed
release-dev / release-dev (push) Failing after 13s

This commit is contained in:
Suphonchai Phoonsawat 2024-10-30 13:41:39 +07:00
commit 6c095a27f7
16 changed files with 19840 additions and 410 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