예제 #1
0
        public PartialViewResult ListClassRoom(int?DepartmentID, int?ClassRoomID)
        {
            ClassRoomService service = new ClassRoomService();

            ViewBag.ListClassRoomID = new SelectList(service.GetAllClassRoom(DepartmentID), "ClassRoomID", "ClassName", ClassRoomID);
            return(PartialView("_ClassRoom"));
        }