コード例 #1
0
ファイル: HomeController.cs プロジェクト: SiciHan/SSISMobile
        public JsonResult FindCurrentRepAndCP(int id)
        {
            string CP  = _collectionPointDAO.FindByHeadId(id);
            string Rep = _employeeDAO.FindDepartmentRepByHeadId(id);

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