// public List <Entidad> ObtenerProductos() { List <Entidad> productos = new List <Entidad>(); DAOProducto objDataBase = new DAOProducto(); try { productos = objDataBase.ConsultarProductos(); } catch (ExcepcionProducto e) { throw e; } catch (Exception e) { throw e; } return(productos); }