Exemplo n.º 1
0
 public async Task <bool> KeyExistsAsync(string cacheKey)
 {
     try {
         return(await Cache.KeyExistsAsync(cacheKey));
     }
     catch (Exception) {
         throw new CacheException("An error occured while reading the cache.");
     }
 }