private async Task <(decimal, decimal)> GetBaseRateValuesAsync(BaseRateCode currentBaseRateCode, BaseRateCode newBaseRateCode)
        {
            var newBaseRateValue = await _baseRateService.GetBaseRateValue(newBaseRateCode.ToString());

            var currentBaseRateValue = currentBaseRateCode == newBaseRateCode
                ? newBaseRateValue
                : await _baseRateService.GetBaseRateValue(currentBaseRateCode.ToString());

            return(currentBaseRateValue, newBaseRateValue);
        }
 private string GetBaseRateCacheKey(BaseRateCode baseRateCode)
 {
     return(_baseRateValueCacheKeyPrefix + baseRateCode.ToString());
 }