/// <summary> /// Post a comment to the selected issue. /// </summary> /// <param name="issue">The issue.</param> /// <param name="comment">The comment.</param> /// <returns>Response from the BitBucket API.</returns> internal async Task <Comment> PostIssueComment(Issue issue, Comment comment) { return(await _repositoriesEndPoint.PostIssueComment(issue, comment)); }
/// <summary> /// Post a comment to the issue. /// </summary> /// <param name="comment">The comment you wish to post.</param> /// <returns>Response from the BitBucket API.</returns> public async Task <Comment> PostComment(Comment comment) { return(await _repositoriesEndPoint.PostIssueComment(_issueId, comment)); }