/** * Obtiene el listado de comentarios. * * @return lista de comentarios * @throws TripulatorLogicException excepción retornada por la lógica */ @GET public List<ComentarioDTO> getComentarios(@PathParam("idEvento") Long idEvento) throws TripulatorLogicException { return ComentarioConverter.listEntity2DTO(comentarioLogic.getComentarios()); }