public ActionResult SaveQuery() { var m = new QueryModel(); UpdateModel(m); m.LoadScratchPad(); var ret = m.SaveQuery(); if (ret.HasValue()) return Content(ret); return Content(m.Description); }