Example #1
0
        public async Task <IEnumerable <Model.Repository> > Get()
        {
            var items = await _repoRepository.SearchRepositories();

            return(items);
        }
Example #2
0
 public async Task <ObservableCollection <Repository> > SearchRepositories(string searchTerm, GitHubClient githubClient)
 {
     return(new ObservableCollection <Repository>(await _repoRepository.SearchRepositories(searchTerm, githubClient)));
 }