Ejemplo n.º 1
0
 public ActionResult Allocate()
 {
     ViewBag.DepartmentList = aDepartmentManager.GetAllDepartmentForDropdown();
     ViewBag.DayList        = aDayManager.GetAllDayForDropdown();
     ViewBag.RoomList       = aRoomManager.GetAllRoomForDropdown();
     return(View());
 }
 public ActionResult RoomAllocation()
 {
     ViewBag.Departments = departmentManager.GetAllDepartmentForDropdown();
     ViewBag.RoomNo      = componentManager.GetAllRoomNoforDropdown();
     ViewBag.Days        = componentManager.GetDayforDropdown();
     return(View());
 }
Ejemplo n.º 3
0
        public ActionResult Course()
        {
            ViewBag.Departments = departmentManager.GetAllDepartmentForDropdown();

            ViewBag.SemesterList = componentManager.GetAllSemesterforDropdown();
            return(View());
        }
Ejemplo n.º 4
0
        public ActionResult Teacher()
        {
            ViewBag.Departments = departmentManager.GetAllDepartmentForDropdown();

            ViewBag.AllDesignations = componentManager.GetAllDesignationforDropdown();
            return(View());
        }
 public ActionResult Allocate()
 {
     ViewBag.departments = DepartmentManager.GetAllDepartmentForDropdown();
     ViewBag.rooms       = RoomManager.GetAllRoomForDropdown();
     ViewBag.days        = DayManager.GetAllDayForDropdown();
     return(View());
 }
        public ActionResult Assign(CourseAssign courseAssign)
        {
            ViewBag.DepartmentList = DepartmentManager.GetAllDepartmentForDropdown();
            if (ModelState.IsValid)
            {
                //ViewBag.DepartmentList = DepartmentManager.GetAllDepartments();
                ViewBag.Message = TeacherManager.AssignSave(courseAssign);
            }

            else
            {
                string message = "Validation error";
                ViewBag.Message = message;
            }

            return(View());
        }
        public ActionResult Allocate(ClassRoom cr)
        {
            ViewBag.departments = DepartmentManager.GetAllDepartmentForDropdown();
            ViewBag.rooms       = RoomManager.GetAllRoomForDropdown();
            ViewBag.days        = DayManager.GetAllDayForDropdown();
            if (ModelState.IsValid)
            {
                ViewBag.Message = ClassRoomManager.Save(cr);

                return(View());
            }

            else
            {
                string message = "Validation error";
                ViewBag.Message = message;
            }
            return(View());
        }
Ejemplo n.º 8
0
 public ActionResult Save()
 {
     ViewBag.DepartmentList = aDepartmentManager.GetAllDepartmentForDropdown();
     ViewBag.SemesterList   = aSemesterManager.GetAllSemesterForDropdown();
     return(View());
 }
 public ActionResult Save()
 {
     ViewBag.DesignationList = aDesignationManager.GetAllDesignationForDropdown();
     ViewBag.DepartmentList  = aDepartmentManager.GetAllDepartmentForDropdown();
     return(View());
 }
Ejemplo n.º 10
0
 public ActionResult AssignCourse()
 {
     ViewBag.Departments = departmentManager.GetAllDepartmentForDropdown();
     return(View());
 }
 public ActionResult Register()
 {
     ViewBag.Departments = aDepartmentManager.GetAllDepartmentForDropdown();
     ViewBag.StudentList = aStudentManager.GetAllStudent();
     return(View());
 }
Ejemplo n.º 12
0
 public ActionResult SaveTeacher()
 {
     ViewBag.Department   = departmentManager.GetAllDepartmentForDropdown();
     ViewBag.Designations = teacherManager.GetAllDesignationForDropdown();
     return(View());
 }
 public ActionResult Assign()
 {
     ViewBag.DepartmentList = DepartmentManager.GetAllDepartmentForDropdown();
     //ViewBag.Message = TeacherManager.AssignSave(courseAssign);
     return(View());
 }
 public ActionResult SaveCourse()
 {
     ViewBag.Semester   = courseManager.GetAllSemesterForDropdown();
     ViewBag.Department = departmentManager.GetAllDepartmentForDropdown();
     return(View());
 }