20 lines
615 B
C#
20 lines
615 B
C#
using DigitalData.Core.Abstractions.Client;
|
|
using DigitalData.Core.Client;
|
|
using EnvelopeGenerator.Application.Configurations.GtxMessaging;
|
|
using Microsoft.Extensions.Options;
|
|
|
|
namespace EnvelopeGenerator.Application.Services
|
|
{
|
|
public class GtxMessagingService
|
|
{
|
|
private readonly SmsParams _smsParams;
|
|
|
|
private readonly IHttpClientService<SmsParams> _smsClient;
|
|
|
|
public GtxMessagingService(IOptions<SmsParams> smsParamsOptions, HttpClientService<SmsParams> smsClient)
|
|
{
|
|
_smsParams = smsParamsOptions.Value;
|
|
_smsClient = smsClient;
|
|
}
|
|
}
|
|
} |