public async Task <IActionResult> ExchangeRate(
            [FromRoute] string baseSymbol,
            [FromRoute] string targetSymbol,
            [FromServices] IExchangeRateService exchangeRateService,
            [FromServices] IValidationService validationService)
        {
            if (!validationService.DoesConfigurationPairExist(baseSymbol, targetSymbol))
            {
                return(BadRequest($"Not configured symbols {baseSymbol} and {targetSymbol} "));
            }

            return(await HandleRequest(exchangeRateService.CurrentExchangeRate(baseSymbol, targetSymbol)));
        }