Esempio n. 1
0
        public ActionResult ReviewList(int id = 0)
        {
            if (id == 0 || !Permission.PremissionNeed(Request, Response, Session, UserRank.TEACHER))
            {
                return(null);
            }

            ViewBag.exam    = ExamView.GetExamById(id);
            ViewBag.reviews = ResultView.GetReviewByExam(id).ToList();

            return(View());
        }