public ActionResult RegisterUser()
		{
			var doc = new DefaultDocument()
			{
				Content = new RegisterUserPage()
			};

			return Content(doc);
		}
		public ActionResult MyProgress()
		{
			var doc = new DefaultDocument()
			{
				Content = new Progress_Page()
			};

			return Content(doc);
		}
Exemplo n.º 3
0
        //
        // GET: /Home/
        //public ActionResult Index()
        //{
        //    return View();
        //}
        public ActionResult Home()
        {
            Response.Write("<!DOCTYPE html>");
            var doc = new DefaultDocument()
            {
                PageView = new Home_Page().ToHtml()
            };

            return Content(doc.ToHtml().ToString());
        }
Exemplo n.º 4
0
        //
        // GET: /Admin/
        public ActionResult Index(string msg)
        {
            var doc = new DefaultDocument()
            {
                PageView = (new Admin_Page() { Msg = msg }).ToHtml()
            };

            return
            Content(doc.ToHtml().ToString());
        }
Exemplo n.º 5
0
        public ActionResult MyProgress()
        {
            Response.Write("<!DOCTYPE html>");
            var doc = new DefaultDocument()
            {
                PageView = new Progress_Page().ToHtml()
            };

            doc.Scripts.Add("Content/Scripts/ProgressChart.js");
            return Content(doc.ToHtml().ToString());
        }
		public ActionResult SignIn()
		{
			//var model = new SignIn_Model();
			//model.CheckUserCredentials();

			var doc = new DefaultDocument
			{
				Content = new SignIn_Page()
			};

			return Content(doc);
		}
Exemplo n.º 7
0
        public ActionResult Register()
        {
            Response.Write("<!DOCTYPE html>");

            var doc = new DefaultDocument()
            {
                PageView = new Register_Page().ToHtml()
            };

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

            return Content(doc.ToHtml().ToString());
        }
		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);
		}
		public ActionResult Index()
		{
			AdminPageModel model = new AdminPageModel();
			model.Init();
			model.Load();

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

			return Content(doc);
		}
Exemplo n.º 10
0
		//[JavaScriptPackage("~/Content/ResourcePacks/Home/Home.js.pack")]
		public ActionResult Home()
		{
			var model = new HomePageModel();
			model.Init();
			model.Load();

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

			return Content(doc);
		}
Exemplo n.º 11
0
        public ActionResult SignIn()
        {
            //var model = new SignIn_Model();
            //model.CheckUserCredentials();

            Response.Write("<!DOCTYPE html>");
            var doc = new DefaultDocument()
            {
                PageView = new SignIn_Page().ToHtml()
            };

            doc.Scripts.Add("Content/Scripts/SignIn.js");
            return Content(doc.ToHtml().ToString());
        }
Exemplo n.º 12
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());
        }