public CommentReviewVoteEntity GetCommentReviewVoteEntity(ReviewVoteDataDTO source) { var target = DefaultGet <ReviewVoteDataDTO, CommentReviewVoteEntity>(source); if (target == null) { target = new CommentReviewVoteEntity(); } return(target); }
public CommentReviewVoteEntity MapToCommentReviewVoteEntity(ReviewVoteDataDTO source, CommentReviewVoteEntity target = null) { if (source == null) { return(null); } if (target == null) { target = GetCommentReviewVoteEntity(source); } MapToReviewVoteEntity(source, target); return(target); }