public ActionResult ShowDepartment() { ViewDeptManagerGOM aViewDeptManagerGom = new ViewDeptManagerGOM(); ViewBag.departments = aViewDeptManagerGom.Show(); return(View()); }
//________________________// public ActionResult ShowClassSchedule() { ViewDeptManagerGOM aViewDeptManagerGom = new ViewDeptManagerGOM(); List <DepartmentGOM> departments = aViewDeptManagerGom.Show(); ViewBag.departments = departments; return(View()); }
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()); }
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(); }