/**
  * @@Admin
  */
 public function conferences()
 {
     $conferences = ConferencesRepository::getInstance()->getAllConferences();
     $viewModel = new AdminConferencesViewModel($conferences);
     $this->renderDefaultLayout($viewModel);
 }
 /**
  * @@Authorize
  */
 public function my()
 {
     $userId = $this->context->getIdentity()->getCurrentUser()->getId();
     $userConferences = ConferencesRepository::getInstance()->getUserConferencesPreview(intval($userId));
     //        var_dump($userConferences);
     $viewModel = new MyConferencesViewModel($userConferences);
     $this->renderDefaultLayout($viewModel);
 }