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."); } }