Exemplo n.º 1
0
        public async Task <ReadOnlyCollection <string> > GetSearchSuggestionsAsync(string searchTerm)
        {
            // Retrieve the search suggestions from the service
            var searchSuggestions = await _productCatalogService.GetSearchSuggestionsAsync(searchTerm);

            return(searchSuggestions);
        }