public virtual ApiTagClientRequestModel MapClientResponseToRequest( ApiTagClientResponseModel response) { var request = new ApiTagClientRequestModel(); request.SetProperties( response.Count, response.ExcerptPostId, response.TagName, response.WikiPostId); return(request); }
public virtual ApiTagClientResponseModel MapClientRequestToResponse( int id, ApiTagClientRequestModel request) { var response = new ApiTagClientResponseModel(); response.SetProperties(id, request.Count, request.ExcerptPostId, request.TagName, request.WikiPostId); return(response); }