public override void DeleteWidget(string widgetId) { Get(widgetId).Groups.Each(m => { _sectionGroupService.Delete(m.ID); }); base.DeleteWidget(widgetId); }
public JsonResult Delete(int Id) { _sectionGroupService.Delete(Id); return(Json(true, JsonRequestBehavior.AllowGet)); }