public Option <SearchResult> Build(SearchModel searchModel)
        {
            // TODO try to get from cache

            var request = _searchRequestBuilder.Build(searchModel);

            var searchResult = _searchProvider.Execute(request);

            return(searchResult);
        }
Esempio n. 2
0
 public List <Restaurant> SearchRestaurant(Dictionary <string, object> values)
 {
     return(SearchProvider.Execute(values));
 }