public HomeController(IEnumerable <IExternalWebSearchApiClient> externalWebSearchApiClients, ISearchResultsService searchResultsService, ILogger <HomeController> logger) { _externalWebSearchApiClients = externalWebSearchApiClients; _searchResultService = searchResultsService; _logger = logger; _taskList = new List <Task <SearchResult> >(); }
public SearchController(ISearchResultsService resultsService) { _resultsService = resultsService; }
public GoogleSearchResultsController(ILogger <GoogleSearchResultsController> logger, ISearchResultsService searchResultsService) { _logger = logger; _google = searchResultsService; }