Пример #1
0
        public virtual ApiCountryRegionCurrencyRequestModel MapResponseToRequest(
            ApiCountryRegionCurrencyResponseModel response)
        {
            var request = new ApiCountryRegionCurrencyRequestModel();

            request.SetProperties(
                response.CurrencyCode,
                response.ModifiedDate);
            return(request);
        }
Пример #2
0
        public virtual ApiCountryRegionCurrencyResponseModel MapRequestToResponse(
            string countryRegionCode,
            ApiCountryRegionCurrencyRequestModel request)
        {
            var response = new ApiCountryRegionCurrencyResponseModel();

            response.SetProperties(countryRegionCode,
                                   request.CurrencyCode,
                                   request.ModifiedDate);
            return(response);
        }