/// <summary> /// Edit comment. /// </summary> /// <param name="comment"></param> /// <returns></returns> public bool EditComment(string comment_id, CommentStatus status, DateTime date_created_gmt, string content, string author, string author_url, string author_email) { var xmlRpcComment = new XmlRpcComment { author = author, author_email = author_email, author_url = author_url, dateCreated = date_created_gmt, content = content, status = EnumsHelper.GetCommentStatusName(status) }; return(_wrapper.EditComment(this.BlogID, Username, Password, xmlRpcComment)); }
/// <summary> /// Edit comment. /// </summary> /// <param name="comment"></param> /// <returns></returns> public bool EditComment(Comment comment) { var xmlRpcComment = Map.From.Comment(comment); return(_wrapper.EditComment(this.BlogID, Username, Password, xmlRpcComment)); }