|
|
@@ -103,13 +103,10 @@ namespace Learun.Application.Web.Areas.EducationalAdministration.Controllers |
|
|
|
public ActionResult GetClassRoomDetailData(string classroomNo, string AcademicYearNo, int? Semester) |
|
|
|
{ |
|
|
|
var Exam_ExamRoomData = exam_ExamRoomIBLL.GetEntityByClassroomNo(classroomNo, AcademicYearNo, Semester); |
|
|
|
var Exam_ExamRoomDetailData = exam_ExamRoomDetailIBLL.GetList("").Where(x => x.ClassRoomNo == classroomNo && x.AcademicYearNo == AcademicYearNo && x.Semester == Semester).OrderBy(x => x.ECOrder); |
|
|
|
var jsonData = new |
|
|
|
{ |
|
|
|
Exam_ExamRoomDetailData = Exam_ExamRoomDetailData, |
|
|
|
Exam_ExamRoomData = Exam_ExamRoomData |
|
|
|
}; |
|
|
|
return Success(jsonData); |
|
|
|
var Exam_ExamRoomDetailData = exam_ExamRoomDetailIBLL.GetList().Where(x => x.ClassRoomNo == classroomNo && x.AcademicYearNo == AcademicYearNo && x.Semester == Semester).OrderBy(x => x.ECOrder); |
|
|
|
var data = new { Exam_ExamRoomData, Exam_ExamRoomDetailData }; |
|
|
|
return Success(data); |
|
|
|
|
|
|
|
} |
|
|
|
#endregion |
|
|
|
|
|
|
|