Esempio n. 1
0
 public IList <Persona> Listar()
 {
     try
     {
         return(PersonaDAO.ListarTodos());
     }
     catch (DataAccessException daex)
     {
         throw daex;
     }
     catch (Exception ex)
     {
         log.Error(ex.Message, ex);
         throw new BusinessLogicException("Ocurrio un error, no se pudo listar los registros", ex);
     }
 }