@DELETE @Path("{id}") public void deleteCurso(@PathParam("id") Long id) { cursoLogicService.deleteCurso(id); }