/// <summary> /// We work with the cache on the server side of the DataPortal /// </summary> protected override void DataPortal_Execute() { var key = "__ML_RouteUrlPageList_" + this.TenantId + "__"; this.RouteUrlPageList = cache.GetOrAdd(key, () => RouteUrlPageList.GetRouteUrlPageList(this.TenantId)); }
public RouteUrlPageList GetRouteUrlPageList(int tenantId) { return(RouteUrlPageList.GetCachedRouteUrlPageList(tenantId)); }
public RouteUrlPageList EmptyRouteUrlPageList() { return(RouteUrlPageList.EmptyRouteUrlPageList()); }