예제 #1
0
        public List <Department> GetAllDepartments()
        {
            List <Department> departments = aScheduleManager.GetAllDepartments();

            return(departments);
        }
예제 #2
0
        // GET: ClassSchedule
        public ActionResult ViewSchedule()
        {
            ViewBag.ShowDepartments = scheduleManager.GetAllDepartments();

            return(View());
        }