Ejemplo n.º 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);
 }
Ejemplo n.º 2
0
 public override void Remove(Models.SectionWidget item)
 {
     if (item != null)
     {
         item.Groups.Each(m =>
         {
             _sectionGroupService.Remove(m.ID);
         });
     }
     base.Remove(item);
 }
Ejemplo n.º 3
0
 public JsonResult Delete(string Id)
 {
     _sectionGroupService.Remove(Id);
     return(Json(true));
 }