/// <summary> /// Get expect instrument data for view /// </summary> /// <param name="strProjectCode"></param> /// <returns></returns> public ActionResult CTS260_GetExpectIntrumentDetailForView(string strProjectCode) { ObjectResultData res = new ObjectResultData(); IProjectHandler Projh = ServiceContainer.GetService <IProjectHandler>() as IProjectHandler; List <dtTbt_ProjectExpectedInstrumentDetailsForView> lstIntrument = Projh.GetTbt_ProjectExpectedInstrumentDetailsForView(strProjectCode); string result = CommonUtil.ConvertToXml <dtTbt_ProjectExpectedInstrumentDetailsForView>(lstIntrument, "contract\\CTS260_expect", CommonUtil.GRID_EMPTY_TYPE.VIEW); return(Json(result)); }