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