public virtual ApiCurrencyRateRequestModel MapResponseToRequest(
            ApiCurrencyRateResponseModel response)
        {
            var request = new ApiCurrencyRateRequestModel();

            request.SetProperties(
                response.AverageRate,
                response.CurrencyRateDate,
                response.EndOfDayRate,
                response.FromCurrencyCode,
                response.ModifiedDate,
                response.ToCurrencyCode);
            return(request);
        }
        public virtual ApiCurrencyRateResponseModel MapRequestToResponse(
            int currencyRateID,
            ApiCurrencyRateRequestModel request)
        {
            var response = new ApiCurrencyRateResponseModel();

            response.SetProperties(currencyRateID,
                                   request.AverageRate,
                                   request.CurrencyRateDate,
                                   request.EndOfDayRate,
                                   request.FromCurrencyCode,
                                   request.ModifiedDate,
                                   request.ToCurrencyCode);
            return(response);
        }