コード例 #1
0
        public JsonResult QueryEmp(string deptName)
        {
            RingelOrgControl uco = new RingelOrgControl();

            return(Json(uco.GetAllEmployeeName(deptName), JsonRequestBehavior.AllowGet));
        }
コード例 #2
0
        // GET: Composite
        public ActionResult Index()
        {
            RingelOrgControl uco = new RingelOrgControl();

            return(View(uco.GetAllDepartmentName()));
        }