Esempio n. 1
0
 public RetriveCallsService(IOptions <IntegrationServiceSettings> settings, IAuthentication authentication, IHttpClientFactory httpClientFactory)
 {
     _settings          = settings.Value ?? throw new ArgumentNullException(nameof(settings));
     _authentication    = authentication ?? throw new ArgumentNullException(nameof(authentication));
     _httpClientFactory = httpClientFactory;
     _context           = new IntegrationServiceContext(settings);
 }
Esempio n. 2
0
 public StoreCallsService(IOptions <IntegrationServiceSettings> settings)
 {
     _context  = new IntegrationServiceContext(settings);
     _settings = settings.Value;
 }