private List <Sigesoft.Node.WinClient.BE.PacientList> GetData(int pintPageIndex, int pintPageSize, string pstrSortExpression, string pstrFilterExpression) { OperationResult objOperationResult = new OperationResult(); List <Sigesoft.Node.WinClient.BE.PacientList> objUserList = _objPacientBL.GetPacientsPagedAndFiltered(ref objOperationResult, pintPageIndex, pintPageSize, txtUserNameFilter.Text); if (objOperationResult.Success != 1) { Alert.ShowInTop("Error en operación:" + System.Environment.NewLine + objOperationResult.ExceptionMessage); } return(objUserList); }