public static void ScheduleInvalidateAll() { ScheduleInvalidation("all", string.Empty); //DB.Vote.Master.UpdateCacheRemovedAll(DateTime.UtcNow); //DB.Vote.Master.UpdateCacheRemovedBallot(DateTime.UtcNow); //DB.Vote.Master.UpdateCacheRemovedElected(DateTime.UtcNow); //DB.Vote.Master.UpdateCacheRemovedIntro(DateTime.UtcNow); //DB.Vote.Master.UpdateCacheRemovedPoliticianIssue(DateTime.UtcNow); //DB.Vote.Master.UpdateCacheRemovedIssue(DateTime.UtcNow); //DB.Vote.Master.UpdateCacheRemovedReferendum(DateTime.UtcNow); //DB.Vote.Master.UpdateCacheRemovedElectionReport(DateTime.UtcNow); //DB.Vote.Master.UpdateCacheRemovedOfficialsReport(DateTime.UtcNow); CacheControl.UpdateWhenCleared(DateTime.UtcNow); }
public static void ScheduleInvalidateAll() { ScheduleInvalidation("all", Empty); CacheControl.UpdateWhenCleared(DateTime.UtcNow); }