@Override
    @Transactional
    public <T extends PersistentObject> T delete(Class<T> entityClass, Long id) {
        T entity = read(entityClass, id);
        em.remove(entity);
        return entity;
    }