private async Task <IReadOnlyCollection <RepositorySettings> > ForAllOrgs(SourceControlServerSettings settings) { var allOrgs = await _collaborationPlatform.GetOrganizations(); var allRepos = new List <RepositorySettings>(); foreach (var org in allOrgs) { var repos = await FromOrganisation(org.Name, settings); allRepos.AddRange(repos); } return(allRepos); }