コード例 #1
0
        /// <summary>
        /// Get system detial data for view
        /// </summary>
        /// <param name="strProjectCode"></param>
        /// <returns></returns>
        public ActionResult CTS260_GetSystemDetailForView(string strProjectCode)
        {
            ObjectResultData res   = new ObjectResultData();
            IProjectHandler  Projh = ServiceContainer.GetService <IProjectHandler>() as IProjectHandler;

            List <dtTbt_ProjectSystemDetailForView> lstSysProd = Projh.GetTbt_ProjectSystemDetailForView(strProjectCode);

            string result = CommonUtil.ConvertToXml <dtTbt_ProjectSystemDetailForView>(lstSysProd, "contract\\CTS260_system", CommonUtil.GRID_EMPTY_TYPE.VIEW);

            return(Json(result));
        }