public bool LikeComment(int commentID) { this.CheckAppKey(); this.CheckLoggedIn(); if (commentID < 0) { throw new ArgumentException("Comment id should be greater than 0."); } else { try { var req = YifyAPI.GetLikeCommentReqeust(this.appKey, this.userKey, commentID); var res = YifyAPI.SendPostRequest(req); var xDoc = _parser.ToResponse(res); return(true); } catch (Exception ex) { throw new YifyException("An error occurred. See inner exception for more details", ex); } } }