public void SetNotFoundPage(PageNotFound pnf) { Config.SetNotFoundPage(pnf.ParentId, pnf.NotFoundPageId); DistributedCache.Instance.RefreshPageNotFoundConfig(pnf); }
public static void RefreshPageNotFoundConfig(this DistributedCache dc, PageNotFound pageNotFound) { dc.RefreshByPayload(new Guid(PageNotFoundManagerCacheRefresher.Id), pageNotFound); }
public void SetNotFoundPage(PageNotFound pnf) { Config.SetNotFoundPage(pnf.ParentId, pnf.NotFoundPageId); }