public Option <SearchResult> Build(SearchModel searchModel) { // TODO try to get from cache var request = _searchRequestBuilder.Build(searchModel); var searchResult = _searchProvider.Execute(request); return(searchResult); }
public List <Restaurant> SearchRestaurant(Dictionary <string, object> values) { return(SearchProvider.Execute(values)); }