20 lines
514 B
C#

using DigitalData.Core.Abstractions.Client;
using EnvelopeGenerator.Application.Configurations.GtxMessaging;
namespace EnvelopeGenerator.Application.Services
{
public class GtxMessagingService
{
private readonly IHttpClientService<SmsParams> _smsClient;
public GtxMessagingService(IHttpClientService<SmsParams> smsClient)
{
_smsClient = smsClient;
}
public async Task SendSms()
{
await _smsClient.FetchAsync();
}
}
}