public static bool KeyExists(string key) { if (WebCache.KeyExists(key)) { return(true); } return(Provider.KeyExists(key)); }
public static bool Add(string key, object value, DateTime expiry) { if (WebCache.KeyExists(key)) { return(false); } WebCache.Add(key, value, expiry); return(Provider.Add(key, value, expiry)); }