public async Task <IEnumerable <Model.Repository> > Get() { var items = await _repoRepository.SearchRepositories(); return(items); }
public async Task <ObservableCollection <Repository> > SearchRepositories(string searchTerm, GitHubClient githubClient) { return(new ObservableCollection <Repository>(await _repoRepository.SearchRepositories(searchTerm, githubClient))); }