Beispiel #1
0
        public ActionResult CopyAsNew(int id)
        {
            var m = new AdvancedModel {
                SelectedId = id
            };

            m.LoadScratchPad();
            m.CopyAsNew();
            var c = new ContentResult();

            c.Content = m.QueryId.ToString();
            return(c);
        }