Exemplo n.º 1
0
        //
        // GET: /Student/
        //public ActionResult Index()
        //{
        //    return View();
        //}

        public ActionResult SaveStudent()
        {
            List <Department> departments = departManager.GetAllDepartments();

            ViewBag.Deapartments = departments;
            return(View());
        }
Exemplo n.º 2
0
        //
        // GET: /Teacher/
        //public ActionResult Index()
        //{

        //    return View();
        //}

        public ActionResult SaveTeacher()
        {
            List <Designation> designations = teacherManager.GetAllDesignation();

            ViewBag.Designations = designations;
            List <Department> departments = departManager.GetAllDepartments();

            ViewBag.Deapartments = departments;
            return(View());
        }
        //
        // GET: /Course/
        //public ActionResult Index()
        //{
        //    return View();
        //}

        public ActionResult SaveCourse()
        {
            List <Department> departments = departManager.GetAllDepartments();

            ViewBag.Deapartments = departments;
            List <Semester> semesters = courseManager.GetAllSemester();

            ViewBag.Semesters = semesters;
            return(View());
        }
Exemplo n.º 4
0
        public ActionResult Index()
        {
            List <Department> departments = departManager.GetAllDepartments();

            return(View(departments));
        }