public JsonResult SaveWidgetZone([FromBody] List <WidgetBase> widgets) { foreach (var widget in widgets) { var w = _widgetService.Get(widget.ID); w.ZoneID = widget.ZoneID; w.Position = widget.Position; _widgetService.Update(w); } return(Json(true)); }