public async Task UpdatePullRequest(GitPullRequest gitPullRequest) { await _bitbucketClient.PullRequestsClient .UpdatePullRequest(gitPullRequest.MapTo <PullRequest>(), _gitWatcher.ActiveRepo.Name, _gitWatcher.ActiveRepo.Owner); }
public async Task CreatePullRequest(GitPullRequest gitPullRequest) { await Client.PullRequestsClient.CreatePullRequest(gitPullRequest.MapTo <PullRequest>(), _gitWatcher.ActiveRepo.Name, _gitWatcher.ActiveRepo.Owner); }