Esempio n. 1
0
 //
 // GET: /ClassRoom/get information about room allocation
 public ActionResult Index()
 {
     ViewBag.Departments   = departmentManager.GetAllDepts();
     classRooms            = classRoomManager.GetAllClassSchedules();
     ViewBag.ClassSchedule = classRooms;
     return(View());
 }
        public ActionResult Save()
        {
            List <Department> departments = departmentManager.GetAllDepts();

            ViewBag.Departments = departments;
            return(View());
        }
Esempio n. 3
0
        //
        // GET: /Teacher/Create
        public ActionResult Save()
        {
            List <Designation> desinationList = designationManager.GetAllDesignations();
            List <Department>  departments    = departmentManager.GetAllDepts();

            ViewBag.Designations = desinationList;
            ViewBag.Departments  = departments;
            return(View());
        }
Esempio n. 4
0
        // GET: /Course/
        //public ActionResult Index()
        //{
        //    return View();
        //}

        public ActionResult Save()
        {
            List <Department> departments = aDepartmetManager.GetAllDepts();
            List <Semester>   semesters   = aSemesterManager.GetAllSemesters();

            ViewBag.Departments = departments;
            ViewBag.Semesters   = semesters;
            return(View());
        }
        public ActionResult AssignCourseToTeacher()
        {
            List <Course>     courses     = courseManger.GetAllCourses();
            List <Department> departments = departmentManager.GetAllDepts();
            List <Teacher>    teachers    = teacherManager.GetAllTeachers();

            ViewBag.Courses     = courses;
            ViewBag.Departments = departments;
            ViewBag.Teachers    = teachers;
            return(View());
        }
        //
        // GET: /ViewCourseStatics/

        public ActionResult ShowCourseStatics()
        {
            IEnumerable <Department> departments = departmentManager.GetAllDepts();

            ViewBag.Departments = departments;
            List <CourseViewModel> courseViewModels = courseManager.GetCourseViewModels();

            return(View(courseViewModels));
        }
Esempio n. 7
0
        // GET: /Department/
        public ActionResult Index()
        {
            List <Department> departments = aDepartmetManager.GetAllDepts();

            return(View(departments));
        }