public function storeResult(Form $form, Result $result)
    {
        $entityManager = $this->container->get('doctrine')->getManager();
        $form->addResult($result);
        $entityManager->persist($form);
        $entityManager->flush();
    }