public static void ClearDatabaseFilter(string pattern)
 {
     try
     {
         var keys = ConnectionManager.GetServer().Keys(cache.Database, pattern + "*").ToArray();
         cache.KeyDelete(keys);
     }
     catch (Exception ex)
     {
         AppInsightsHelper.TrackException(ex);
     }
 }
 static void ManageException(Exception ex, TimerInfo timer, string dependencyName, string data)
 {
     AppInsightsHelper.TrackException(ex);
     ManageException(timer, dependencyName, data);
 }