public CalculatorService(IDefaultHttpClientAccessor client, IOptions <Urls> options, IExchangeRateService exchangeRateService)
 {
     _client = client;
     this._exchangeRateService = exchangeRateService;
     _options = options.Value;
     _client.SetConnection(_options.MainURL);
 }
 public ExchangeRateService(IDefaultHttpClientAccessor client, IOptions <Urls> options)
 {
     _client  = client;
     _options = options.Value;
     _client.SetConnection(_options.MainURL);
 }