This commit is contained in:
Zeeshaun
2026-03-24 15:26:03 -05:00
parent 1e5beb292a
commit 9cc87337b8
333 changed files with 17931 additions and 0 deletions
@@ -0,0 +1,21 @@
using LCU.Api.Internal.DispatcherSharedLib.Configurations;
using LCU.Library.Internal.LcuHttpClient.HttpRequest;
using LCU.Library.Internal.NotificationsModels.Models;
namespace LCU.Api.Internal.Dispatcher.DataAccess;
public class NotificationsApiDao : INotificationsApiDao
{
private readonly NotificationApiConfiguration _configuration;
private readonly IPostRequest _postRequest;
public NotificationsApiDao(NotificationApiConfiguration configuration, IPostRequest postRequest)
{
_configuration = configuration;
_postRequest = postRequest;
}
public async Task SendEmailAsync(EmailRequest request)
{
await _postRequest.Async(new Uri(_configuration.EmailEndpointUrl), request);
}
}