public SearchResult Search(SearchCriteria criteria) { var cacheKey = GetCacheKey("CatalogSearchService.Search", criteria.GetCacheKey()); var retVal = _cacheManager.Get(cacheKey, RegionName, () => _searchService.Search(criteria)); return(retVal); }
public SearchResult SearchStores(SearchCriteria criteria) { var cacheKey = GetCacheKey("StoreService.SearchStores", criteria.GetCacheKey()); var retVal = _cacheManager.Get(cacheKey, RegionName, () => _storeService.SearchStores(criteria)); return(retVal); }