protected void ClearCache(string cacheKey) { try { CachingProvider.Clear(cacheKey); } catch (Exception) { // don't let caching errors mess with the repository } }