public function rejectRegistration(Registration $registration)
    {
        $registration->setPending(false);
        $registration->setRejected(true);
        $this->em->persist($registration);
        $this->em->flush();
    }