예제 #1
0
        public string UpdateWikiComment(string commentid, string content)
        {
            if (string.IsNullOrEmpty(content))
            {
                throw new ArgumentException();
            }

            _engine.UpdateComment(new Comment {
                Id = new Guid(commentid), Body = content
            });
            return(HtmlUtility.GetFull(content));
        }
예제 #2
0
 public CommentWrapper UpdateComment(string id, string body)
 {
     return(new CommentWrapper(_engine.UpdateComment(new Comment {
         Id = new Guid(id), Body = body
     })));
 }