/// <summary> /// Remove comment. /// </summary> /// <param name="comment_id"></param> /// <returns></returns> public bool DeleteComment(string comment_id) { try { var comment = GetComment(comment_id);; return(_wrapper.DeleteComment(this.BlogID, Username, Password, comment_id)); } catch { return(false); } }
/// <summary> /// Remove comment. /// </summary> /// <param name="comment_id"></param> /// <returns></returns> public bool DeleteComment(string comment_id) { //todo: make validation better - add clearer error handling try { var comment = GetComment(comment_id);; return(_wrapper.DeleteComment(this.BlogID, Username, Password, comment_id)); } catch { return(false); } }