public Task <List <GitRef> > GetBranchRefsAsync(Guid repositoryId) => _gitHttpClient.GetBranchRefsAsync(repositoryId);
public Task <List <GitRef> > GetBranchRefsAsync(Guid repositoryId) => RetryHelper.GetWaitAndRetryPolicy <Exception>(_loggerService) .ExecuteAsync(() => _gitHttpClient.GetBranchRefsAsync(repositoryId));
public IEnumerable <GitRef> GetGitBranches(Guid gitRepositoryId) { return(_gitHttpClient.GetBranchRefsAsync(gitRepositoryId).Result); }