public ActionResult ShowDepartment()
        {
            ViewDeptManagerGOM aViewDeptManagerGom = new ViewDeptManagerGOM();

            ViewBag.departments = aViewDeptManagerGom.Show();
            return(View());
        }
Esempio n. 2
0
        //________________________//



        public ActionResult ShowClassSchedule()
        {
            ViewDeptManagerGOM aViewDeptManagerGom = new ViewDeptManagerGOM();

            List <DepartmentGOM> departments = aViewDeptManagerGom.Show();

            ViewBag.departments = departments;

            return(View());
        }
Esempio n. 3
0
        public ActionResult AllocateClassRoomGom()
        {
            ViewDeptManagerGOM aViewDeptManagerGom = new ViewDeptManagerGOM();

            ViewBag.departments = aViewDeptManagerGom.Show();

            ViewRoomDayManagerGOM rd        = new ViewRoomDayManagerGOM();
            List <ClassRoomGOM>   classRoom = rd.ShowClassroom();

            ViewBag.classRoom = classRoom;


            List <ClassRoomGOM> day = rd.ShowDay();

            ViewBag.day = day;

            List <ClassRoomGOM> nullList = new List <ClassRoomGOM>();

            ViewBag.nullList = nullList;

            return(View());
        }
Esempio n. 4
0
        public ActionResult AllocateClassRoomGom(ClassRoomGOM classRoomGom)
        {
            AllocateClassRoomManagerGOM allocateClass = new AllocateClassRoomManagerGOM();
            string msg = allocateClass.InsertAllocation(classRoomGom);

            ViewBag.msg = msg;



            ViewDeptManagerGOM aViewDeptManagerGom = new ViewDeptManagerGOM();

            ViewBag.departments = aViewDeptManagerGom.Show();



            ViewRoomDayManagerGOM rd        = new ViewRoomDayManagerGOM();
            List <ClassRoomGOM>   classRoom = rd.ShowClassroom();

            ViewBag.classRoom = classRoom;



            List <ClassRoomGOM> day = rd.ShowDay();

            ViewBag.day = day;



            List <ClassRoomGOM> nullList = new List <ClassRoomGOM>();

            ViewBag.nullList = nullList;



            return(View());
        }
        private void ShowDept()
        {
            ViewDeptManagerGOM aViewDeptManagerGom = new ViewDeptManagerGOM();

            ViewBag.departments = aViewDeptManagerGom.Show();
        }