Пример #1
0
        public ActionResult Dashboard(int studentId = 0)
        {
            //VOOR ALS JE WILT TESTEN WAT JE STUDENTNUM IS :
            // return Content(CurrentUser.getInstance().Studentnummer.ToString());
            UserDashboardWrapper wrapper;

            if (studentId != 0)
            {
                wrapper = new UserDashboardWrapper(studentId);
            }
            else
            {
                wrapper = new UserDashboardWrapper(curUser.Studentnummer);
            }

            ViewBag.Filled = (Request["b"] == "done") ? true : false;

            return(View(wrapper));
        }
Пример #2
0
        public ActionResult Projecten()
        {
            UserDashboardWrapper wrapper = new UserDashboardWrapper(curUser.Studentnummer);

            return(View(wrapper));
        }