예제 #1
0
        public virtual ApiPhoneNumberTypeRequestModel MapResponseToRequest(
            ApiPhoneNumberTypeResponseModel response)
        {
            var request = new ApiPhoneNumberTypeRequestModel();

            request.SetProperties(
                response.ModifiedDate,
                response.Name);
            return(request);
        }
예제 #2
0
        public virtual ApiPhoneNumberTypeResponseModel MapRequestToResponse(
            int phoneNumberTypeID,
            ApiPhoneNumberTypeRequestModel request)
        {
            var response = new ApiPhoneNumberTypeResponseModel();

            response.SetProperties(phoneNumberTypeID,
                                   request.ModifiedDate,
                                   request.Name);
            return(response);
        }