public GetRGAService.RMACommentDTO ConvertTOGetDTO(RMAComment _commentDTO)
 {
     GetRGAService.RMACommentDTO _DTO = new GetRGAService.RMACommentDTO();
     if (_commentDTO.UserID != null)
     {
         _DTO.UserID = _commentDTO.UserID;
     }
     if (_commentDTO.ReturnID != null)
     {
         _DTO.ReturnID = _commentDTO.ReturnID;
     }
     if (_commentDTO.Comment != null)
     {
         _DTO.Comment = _commentDTO.Comment;
     }
     if (_commentDTO.CommentDate != null)
     {
         _DTO.CommentDate = (DateTime)_commentDTO.CommentDate;
     }
     if (_commentDTO.RMACommentID != null)
     {
         _DTO.RMACommentID = _commentDTO.RMACommentID;
     }
     return(_DTO);
 }
 public RMAComment(GetRGAService.RMACommentDTO _commentDTO)
 {
     if (_commentDTO.UserID != null)
     {
         this.UserID = _commentDTO.UserID;
     }
     if (_commentDTO.ReturnID != null)
     {
         this.ReturnID = _commentDTO.ReturnID;
     }
     if (_commentDTO.Comment != null)
     {
         this.Comment = _commentDTO.Comment;
     }
     if (_commentDTO.CommentDate != null)
     {
         this.CommentDate = (DateTime)_commentDTO.CommentDate;
     }
     if (_commentDTO.RMACommentID != null)
     {
         this.RMACommentID = _commentDTO.RMACommentID;
     }
 }