internal ResultadoInfo <VentaGanadoInfo> ObtenerVentaGanadoPorPagina(PaginacionInfo pagina, VentaGanadoInfo ventaGanado) { try { Dictionary <string, object> parameters = AuxVentaGanado.ObtenerParametrosPorPagina(pagina, ventaGanado); DataSet ds = Retrieve("VentaGanado_ObtenerPorPagina", parameters); ResultadoInfo <VentaGanadoInfo> venta = null; if (ValidateDataSet(ds)) { venta = MapVentaGanadoDAL.ObtenerVentaGanadoPorPagina(ds); } return(venta); } catch (SqlException ex) { Logger.Error(ex); throw new ExcepcionServicio(MethodBase.GetCurrentMethod(), ex); } catch (DataException ex) { Logger.Error(ex); throw new ExcepcionServicio(MethodBase.GetCurrentMethod(), ex); } catch (Exception ex) { Logger.Error(ex); throw new ExcepcionDesconocida(MethodBase.GetCurrentMethod(), ex); } }