예제 #1
0
        public virtual ApiCallPersonClientRequestModel MapClientResponseToRequest(
            ApiCallPersonClientResponseModel response)
        {
            var request = new ApiCallPersonClientRequestModel();

            request.SetProperties(
                response.Note,
                response.PersonId,
                response.PersonTypeId);
            return(request);
        }
예제 #2
0
        public virtual ApiCallPersonClientResponseModel MapClientRequestToResponse(
            int id,
            ApiCallPersonClientRequestModel request)
        {
            var response = new ApiCallPersonClientResponseModel();

            response.SetProperties(id,
                                   request.Note,
                                   request.PersonId,
                                   request.PersonTypeId);
            return(response);
        }