Ejemplo n.º 1
0
 private void HandleSmartUrlListChanging()
 {
     if (SmartUrlChanged)
     {
         var action = new PortalContext.ReloadSmartUrlListDistributedAction();
         action.Execute();
     }
 }
Ejemplo n.º 2
0
 private void HandleSmartUrlListChanging()
 {
     if (SmartUrlChanged)
     {
         var action = new PortalContext.ReloadSmartUrlListDistributedAction();
         action.ExecuteAsync(CancellationToken.None).GetAwaiter().GetResult();
     }
 }