Exemplo n.º 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));
        }
Exemplo n.º 2
0
 public CommentWrapper UpdateComment(string id, string body)
 {
     return(new CommentWrapper(_engine.UpdateComment(new Comment {
         Id = new Guid(id), Body = body
     })));
 }