private List <Sigesoft.Node.WinClient.BE.ProtocolList> GetData(int pintPageIndex, int?pintPageSize, string pstrSortExpression, string pstrFilterExpression) { OperationResult objOperationResult = new OperationResult(); var dataList = _oProtocolBL.GetProtocolPagedAndFiltered(ref objOperationResult, pintPageIndex, pintPageSize, pstrSortExpression, pstrFilterExpression); return(dataList); }
private List <ProtocolList> GetData(int pintPageIndex, int?pintPageSize, string pstrSortExpression, string pstrFilterExpression) { OperationResult objOperationResult = new OperationResult(); var dataList = _protocolBL.GetProtocolPagedAndFiltered(ref objOperationResult, pintPageIndex, pintPageSize, pstrSortExpression, pstrFilterExpression); if (objOperationResult.Success != 1) { MessageBox.Show("Error en operación:" + System.Environment.NewLine + objOperationResult.ExceptionMessage, "ERROR!", MessageBoxButtons.OK, MessageBoxIcon.Error); } return(dataList); }