コード例 #1
0
 protected virtual async Task ClearProductViewCacheAsync(Guid storeId)
 {
     await _cache.RemoveAsync(await _productViewCacheKeyProvider.GetCacheKeyAsync(storeId));
 }
コード例 #2
0
 protected virtual async Task <string> GetCacheKeyAsync(Guid storeId)
 {
     return(await _productViewCacheKeyProvider.GetCacheKeyAsync(storeId));
 }