예제 #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));
        }
        // 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));
        }
        // 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()));
 }