public function persistNewAuthCode(AuthCodeEntityInterface $authCodeEntity)
    {
        $this->getEntityManager()->transactional(function(EntityManagerInterface $entityManager) use ($authCodeEntity) {
            $entityManager->persist($authCodeEntity);
        });
    }