Exemple #1
0
 public function deleteAutoAction()
 {
     $Cars = new Cars();
     $idAuta = $this->request->getParam('id');
     $Cars->deleteSamochody($idAuta);
     header('Location:' . Url::getUrl('cars', 'list'));
 }