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