예제 #1
0
 public override void Remove(Models.SectionWidget item, bool saveImmediately = true)
 {
     if (item != null)
     {
         item.Groups.Each(m =>
         {
             _sectionGroupService.Remove(m.ID);
         });
     }
     base.Remove(item, saveImmediately);
 }
예제 #2
0
 public override void Remove(Models.SectionWidget item)
 {
     if (item != null)
     {
         item.Groups.Each(m =>
         {
             _sectionGroupService.Remove(m.ID);
         });
     }
     base.Remove(item);
 }
예제 #3
0
 public JsonResult Delete(string Id)
 {
     _sectionGroupService.Remove(Id);
     return(Json(true));
 }