/// <summary> /// Accept a pull request and merges into the destination branch. This requires write access on the destination repository. /// </summary> /// <returns></returns> public async Task <Merge> AcceptAndMergePullRequestAsync() { return(await _repositoriesEndPoint.AcceptAndMergePullRequestAsync(_accountName, _slug, _pullRequestId)); }