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