/// <summary> /// Rejects a pull request. This requires write access on the destination repository. /// </summary> /// <returns></returns> public async Task <PullRequest> DeclinePullRequestAsync() { return(await _repositoriesEndPoint.DeclinePullRequestAsync(_accountName, _slug, _pullRequestId)); }