Exemple #1
0
 /**
  * @param $id
  * @param $performanceId
  */
 public function handleDeletePerformance($id, $performanceId)
 {
     if ($id and $performanceId and $performance = $this->performanceFacade->findPerformanceById($performanceId)) {
         $this->performanceFacade->delete($performance);
     }
     $this->flashMessage("Představení bylo odebráno", "success");
     $this->redirect("this");
 }