Exemple #1
0
        private static bool CheckKey(string key)
        {
            bool notified;

            if (Boolean.TryParse(EventSiteDA.GetCache(key), out notified))
            {
                return(!notified);
            }

            return(true);
        }
Exemple #2
0
 private static void SetKey(string key)
 {
     EventSiteDA.SetCache(key, true.ToString(), 120);
 }