示例#1
0
        public object CalculateRate(RateDto rateDto)
        {
            var rate = new Rate(
                rateDto.ValueOrigin,
                rateDto.CurrencyOrigin,
                rateDto.CurrencyDestination,
                rateDto.FormatMsg,
                rateDto.ApiKey);

            return(rateService.Calculate(rate));
        }