// Hiển thị kết quả đánh giá theo cả lớp học phần
        public ActionResult ShowResultSurvey(int?id)
        {
            if (id == null)
            {
                return(RedirectToAction("NotFoundWebsite", "Home", new { area = "SignIn" }));
            }
            // Lấy số lượng sinh viên đã đánh giá học phần
            ViewBag.hasSurvey = SubjectBusinessModel.GetSumStudentDoneSurvey(id);
            // Lấy ra thông tin chi tiết của sinh viên đầu tiên trong học phần đó
            StudentDetail student_Detail = StudentDetailBusinessModel.GetFirstStudentDetailBySubject(id);

            if (student_Detail == null)
            {
                return(RedirectToAction("NotFoundWebsite", "Home", new { area = "SignIn" }));
            }
            if (ViewBag.hasSurvey == 0)
            {
                return(View(student_Detail));
            }
            // Lấy tổng số sinh viên của học phần đó
            ViewBag.SumStudent = SubjectBusinessModel.GetSumStudentBySubject(id);
            // Lấy ra điểm trung bình theo cả lớp của các tiêu chí
            ViewBag.ListPointAver = SubjectBusinessModel.GetListAverage(id);
            // Lấy ra danh sách các tiêu chí đánh giá
            ViewBag.NameSurvey = ContentSurveyBusinessModel.GetListContentSurvey();
            // Lấy ra tổng số tiêu chí đánh giá
            ViewBag.CountSurvey = ContentSurveyBusinessModel.GetSumContentSurvey();
            return(View(student_Detail));
        }