Esempio n. 1
0
        public ActionResult ShowDemo()
        {
            string name = this.RouteData.Values["demoId"].ToString();
            IndividualDemoModel model = DemoPageModel.LoadDemo(Server.MapPath(DemoPageModel.DefaultXmlIndexPath), name);

            model.ActiveButton = NavigationButtons.Demos;
            return(View(model));
        }