public async Task <SearchResult> Get(string text) { var spec = new RepositorySearchSpecification() { Text = text }; return(await this.githubService.SearchAsync(spec)); }
public async Task GithubSearchServiceTest() { IGithubService service = new GithubService(); var spec = new RepositorySearchSpecification() { Text = "Isrcard" }; var result = await service.SearchAsync(spec); Assert.NotNull(result); }