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)); }
public ActionResult Projecten() { UserDashboardWrapper wrapper = new UserDashboardWrapper(curUser.Studentnummer); return(View(wrapper)); }