public virtual ApiPostTypeClientRequestModel MapClientResponseToRequest( ApiPostTypeClientResponseModel response) { var request = new ApiPostTypeClientRequestModel(); request.SetProperties( response.RwType); return(request); }
public virtual ApiPostTypeClientResponseModel MapClientRequestToResponse( int id, ApiPostTypeClientRequestModel request) { var response = new ApiPostTypeClientResponseModel(); response.SetProperties(id, request.RwType); return(response); }