//[HttpPost]
        //public ActionResult ViewClassShedule(Department aDeptment)
        //{
        //    ViewBag.Departments = allocateClassRoomManager.GetDepartmentsForDropdown();
        //    ViewBag.ShowDetails = allocateClassRoomManager.showClassDetails(aDeptment);
        //    return View();
        //}

        public JsonResult GetViewClassSheduleByDeptId(int DeptId)
        {
            List <ViewClassSheduleViewModel> viewClassShedulelist = allocateClassRoomManager.showClassDetails(DeptId);

            return(Json(viewClassShedulelist, JsonRequestBehavior.AllowGet));
        }