/// <summary> /// Get support staff for view /// </summary> /// <param name="strProjectCode"></param> /// <returns></returns> public ActionResult CTS260_GetSupportStaffForView(string strProjectCode) { ObjectResultData res = new ObjectResultData(); IProjectHandler Projh = ServiceContainer.GetService <IProjectHandler>() as IProjectHandler; List <dtTbt_ProjectSupportStaffDetailForView> lstStaff = Projh.GetTbt_ProjectSupportStaffDetailForView(strProjectCode); EmployeeMappingList emlst = new EmployeeMappingList(); emlst.AddEmployee(lstStaff.ToArray()); IEmployeeMasterHandler Emph = ServiceContainer.GetService <IEmployeeMasterHandler>() as IEmployeeMasterHandler; Emph.EmployeeListMapping(emlst); string result = CommonUtil.ConvertToXml <dtTbt_ProjectSupportStaffDetailForView>(lstStaff, "contract\\CTS260_support", CommonUtil.GRID_EMPTY_TYPE.VIEW); return(Json(result)); }