Exemple #1
0
        //
        // GET: /AllocateClassRoom/
        public ActionResult Allocate()
        {
            DepartmentBind();
            ViewBag.Courses = allocateManager.GetAllCourse();
            ViewBag.Days    = allocateManager.GetAllDay();
            ViewBag.RoomNo  = allocateManager.GetAllRoom();
            //ViewBag.Departments = aDepartmentManager.GetAllDepartments();

            return(View());
        }
Exemple #2
0
 private IList <Course> GetAllCourse(int deptId)
 {
     return(allocateManager.GetAllCourse().Where(m => m.Department == deptId).ToList());
 }