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