public JsonResult QueryEmp(string deptName) { RingelOrgControl uco = new RingelOrgControl(); return Json(uco.GetAllEmployeeName(deptName), JsonRequestBehavior.AllowGet); }
// GET: Composite public ActionResult Index() { RingelOrgControl uco = new RingelOrgControl(); return View(uco.GetAllDepartmentName()); }