示例#1
0
 public ActionResult CopyAsNew(int id)
 {
     var m = new QueryModel { SelectedId = id };
     m.LoadScratchPad();
     m.CopyAsNew();
     var c = new ContentResult();
     c.Content = m.QueryId.ToString();
     return c;
 }