public ShitcoinsRatesAdapter(IHttpClientFactory httpClientFactory, IOptions <WorkerSettings> workerSettings, IDateTimeService dateTimeService) { this.dateTimeService = dateTimeService; this.workerSettings = workerSettings.Value; httpClient = httpClientFactory.CreateGenericClient(); httpClient.BaseAddress = new Uri(ServiceUrl); }