public List<chk_demo> SearchChkTypeList( int typeid, string chk_item, orderbyEnum? orderby, string orderbyCol, int pageIndex, int pageSize, out string error) { error = string.Empty; try { chk_info_DA chkDa = new chk_info_DA(); var resultList = chkDa.SearchChkTypeList( typeid, chk_item, orderby, orderbyCol, pageIndex, pageSize, out error); return resultList; } catch (Exception ex) { error += BaseTool.FormatExceptionMessage(ex); return null; } }
public List<chk_info> SearchChkInfoList( int medical_id, int patient_id, int chk_type_id, int chk_demo_id, int fileid, int drid, orderbyEnum? orderby, string orderbyCol, int pageIndex, int pageSize, out string error) { error = string.Empty; try { chk_info_DA chkDa = new chk_info_DA(); var resultList = chkDa.SearchChkInfoList( medical_id, patient_id, chk_type_id, chk_demo_id, fileid,drid, orderby, orderbyCol, pageIndex, pageSize, out error); return resultList; } catch (Exception ex) { error += BaseTool.FormatExceptionMessage(ex); return null; } }