Example #1
0
 private void TriggerChange(WidgetBase widget)
 {
     if (widget != null && widget.PageID.IsNotNullAndWhiteSpace())
     {
         PageService.MarkChanged(widget.PageID);
     }
     else if (widget != null && widget.LayoutID.IsNotNullAndWhiteSpace())
     {
         LayoutService.MarkChanged(widget.LayoutID);
     }
 }