public ActionResult AddNew(string dept_name, string dir_name, string dir_ID, int room_ID, int people_num) { DepartmentService d = new DepartmentService(); d.AddNewDepartment(dept_name, dir_name, dir_ID, room_ID, people_num); return(Json("true", JsonRequestBehavior.AllowGet)); }