Example #1
0
        public async Task <bool> DeleteComment(long repositoryId, int commentId, GitHubClient authorizedGitHubClient)
        {
            await _issueRepository.DeleteComment(repositoryId, commentId, authorizedGitHubClient);

            try
            {
                await _issueRepository.GetComment(repositoryId, commentId, authorizedGitHubClient);
            }
            catch (Exception)
            {
                return(false);
            }
            return(true);
        }