コード例 #1
0
        // GET: RoomLessonTeacher
        public ActionResult Index()
        {
            RoomLessonTeacherVM roomLessonTeacherVM = new RoomLessonTeacherVM();

            roomLessonTeacherVM.RoomLessonTeachers = roomLessonTeacherService.GetActiveRoomLessonTeacher();
            roomLessonTeacherVM.ClassRooms         = classRoomService.GetActiveRoom();
            roomLessonTeacherVM.Lessons            = lessonService.GetActiveLesson();
            roomLessonTeacherVM.Teachers           = teacherService.GetActiveTeacher();
            roomLessonTeacherVM.Branches           = branchService.GetActiveBranch();
            return(View(roomLessonTeacherVM));
        }
コード例 #2
0
        // GET: SyllabusTable
        public ActionResult Index()
        {
            SyllabusTableVM syllabusTableVM = new SyllabusTableVM();

            syllabusTableVM.SyllabusTables = syllabusTableService.GetActiveSyllabus();
            syllabusTableVM.LessonHours    = lessonHourService.GetActiveHour();
            syllabusTableVM.Lessons        = lessonService.GetActiveLesson();
            syllabusTableVM.ClassRooms     = classRoomService.GetActiveRoom();
            syllabusTableVM.Teachers       = teacherService.GetActiveTeacher();
            return(View(syllabusTableVM));
        }
コード例 #3
0
        // GET: NoteEntry
        public ActionResult Index()
        {
            NoteEntryVM noteEntryVM = new NoteEntryVM();

            noteEntryVM.NoteEntries        = noteEntryService.GetActiveNote();
            noteEntryVM.Teachers           = teacherService.GetActiveTeacher();
            noteEntryVM.PeriodInformations = periodInformationService.GetActivePeriodInformation();
            noteEntryVM.ClassRooms         = classRoomService.GetActiveRoom();
            noteEntryVM.Students           = studentService.GetActiveStudent();
            noteEntryVM.Lessons            = lessonService.GetActiveLesson();
            return(View(noteEntryVM));
        }
コード例 #4
0
        // GET: ClassRoom/Details/5
        public ActionResult Details(Guid id)
        {
            RoomLessonTeacherEkVM roomLessonTeacherEkVM = new RoomLessonTeacherEkVM();

            roomLessonTeacherEkVM.RoomLessonTeachers = roomLessonTeacherService.GetActiveRoomLessonTeacher();
            roomLessonTeacherEkVM.ClassRooms         = classRoomService.GetActiveRoom();
            roomLessonTeacherEkVM.Lessons            = lessonService.GetActiveLesson();
            roomLessonTeacherEkVM.Teachers           = teacherService.GetActiveTeacher();

            var sonuc = roomLessonTeacherEkVM.ClassRooms.Where(x => x.ID == id).ToList();

            return(View(roomLessonTeacherEkVM));
        }
コード例 #5
0
 // GET: Lesson
 public ActionResult Index()
 {
     return(View(lessonService.GetActiveLesson()));
 }