コード例 #1
0
		public ActionResult UserPerformance()
		{
			var model = new UserPerformance_Page_Model();
			model.Init();
			model.Load();

			var doc = new DefaultDocument()
			{
				Content = new UserPerformance_Page() { Model = model }
			};

			return Content(doc);
		}
コード例 #2
0
        public ActionResult UserPerformance()
        {
            var model = new UserPerformance_Page_Model();
            model.Init();
            model.Load();

            var doc = new DefaultDocument()
            {
                PageView = (new UserPerformance_Page() { Model = model}).ToHtml()
            };

            doc.Scripts.Add("Content/Scripts/AdminUserPerformance.js");

            return
            Content(doc.ToHtml().ToString());
        }