예제 #1
0
        // GET: Attendance
        public ActionResult Index()
        {
            AttendanceVM vm = new AttendanceVM
            {
                Classes  = _attendanceRepo.GetActiveClasses(),
                Subjects = _attendanceRepo.GetActiveTeachersSubjects()
            };

            return(View(vm));
        }