public async Task <IActionResult> GetExchangeRates([FromBody] Requests.GetExchangeRateRequest request)
        {
            logger.LogInformation($"Attempt to fetch data from api: APIKEY: {request.ApiKey}, date range: {request.StartTime}-{request.EndTime}, exchangeRates : {request.CurrencyCodesDescription}");

            if (request.StartTime > DateTime.Now)
            {
                return(NotFound("Not found"));
            }

            return(new ObjectResult(await exchangeRateService.GetRangeAsync(mapper.Map <ExchangeRateFetchModel>(request))));
        }