예제 #1
0
        public ActionResult InfoWidget()
        {
            var model = _studentFacade.GetStudent(User.Identity.Name).ProjectTo <StudentViewModel>().First();

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

            return(PartialView(model));
        }