public ActionResult InsGroupAbove(int id) { var m = new AdvancedModel { SelectedId = id }; m.LoadScratchPad(); m.InsertGroupAbove(); var c = new ContentResult(); c.Content = m.QueryId.ToString(); return(c); }