/// <summary> /// Clears the cache of all items. /// </summary> public async Task Refresh() { Cache.ClearAll(); await CacheRefreshed.Raise(); }
/// <summary> /// Clears the cache of all items. /// </summary> public static void Refresh() { Cache.Current.ClearAll(); CacheRefreshed?.Invoke(typeof(Database), EventArgs.Empty); }