public ActionResult InfoWidget() { var model = _studentFacade.GetStudent(User.Identity.Name).ProjectTo <StudentViewModel>().First(); return(PartialView(model)); }
public ActionResult InfoWidget() /* toont de accountgegevens van de aangemelde user*/ { var model = _studentFacade.GetStudent(User.Identity.Name).ProjectTo <StudentViewModel>().First(); return(PartialView(model)); }