/**
  *
  */
 public function indexAction()
 {
     $this->view->assignMultiple(['elections' => $this->electionRepository->findAll()]);
     if ($this->configuration) {
         $electionManagerGroup = $this->configuration->getElectionManagerGroup();
     } else {
         $this->addFlashMessage(LocalizationUtility::translate('view.be.dashboard.index.no_configuration_msg_body', $this->extensionName), LocalizationUtility::translate('view.be.dashboard.index.no_configuration_msg_title', $this->extensionName), AbstractMessage::ERROR);
     }
     if ($electionManagerGroup) {
         if ($this->backendUserHasUserGroup()) {
             $this->view->assign('electorImports', $this->objectManager->get(ElectorImportRepository::class)->findAll());
             $this->view->assign('electionCirculars', $this->objectManager->get(ElectionCircularRepository::class)->findAll());
         }
     } else {
         $this->addFlashMessage(LocalizationUtility::translate('view.be.dashboard.index.no_configuration_msg_body', $this->extensionName), LocalizationUtility::translate('view.be.dashboard.index.no_electionmanagergroup_msg_body', $this->extensionName), AbstractMessage::WARNING);
     }
 }
 /**
  *
  */
 public function listAction()
 {
     $this->view->assign('elections', $this->electionRepository->findAll());
 }
 /**
  * @param ElectionCircular $electionCircular
  */
 public function editAction(ElectionCircular $electionCircular)
 {
     $this->view->assign('electionCircular', $electionCircular);
     $this->view->assign('elections', $this->electionRepository->findAll());
 }