Beispiel #1
0
        public ActionResult CheckExamEligibility()
        {
            try
            {
                _student = _studentLogic.GetEntityBy(s => s.Matric_Number == User.Identity.Name);

                ViewBag.Courses = _courseLogic.GetCoursesForStudent(_student);
            }
            catch (Exception ex)
            {
                SetMessage("Error! " + ex.Message, Message.Category.Error);
            }
            return(View());
        }