Ejemplo n.º 1
0
        public ActionResult Save()
        {
            List <SelectListItem> aDepartments = departmentManager.GetAllDepartment();

            ViewBag.departments = aDepartments;


            List <SelectListItem> aSemesters = departmentManager.GetAllSemester();

            ViewBag.semesters = aSemesters;


            return(View());
        }
 public ActionResult CourseEntry()
 {
     ViewBag.AllDepartment = aDepartmentManager.GetAllDepartment();
     ViewBag.AllSemester   = aDepartmentManager.GetAllSemester();
     return(View());
 }