private static bool CheckKey(string key) { bool notified; if (Boolean.TryParse(EventSiteDA.GetCache(key), out notified)) { return(!notified); } return(true); }
private static void SetKey(string key) { EventSiteDA.SetCache(key, true.ToString(), 120); }