public void WhenSearchingForACompany() { _result = _client.SearchCompanyAsync(new CompanySearchRequest() { Query = _query }).Result; }
public void WhenSearchingForACompany() { _result = _client.SearchCompanyAsync(new SearchRequest() { Query = _query, StartIndex = 0, ItemsPerPage = 100 }).Result; }
public async Task WhenSearchingForACompany() { _result = await _client.SearchCompanyAsync(new SearchRequest() { Query = _query, StartIndex = 0, ItemsPerPage = 100 }) .ConfigureAwait(false); }