示例#1
0
        public JsonResult FindCurrentRepAndCP(int id)
        {
            string CP  = _collectionPointDAO.FindByHeadId(id);
            string Rep = _employeeDAO.FindDepartmentRepByHeadId(id);

            return(Json(new { CP = CP, Rep = Rep }, JsonRequestBehavior.AllowGet));
        }