Exemplo n.º 1
0
 public function deleteAction()
 {
     $id = $this->request->getParam('id');
     $Cars = new Cars();
     $Cars->deleteCar($id);
     header('location: ' . Url::getUrl('car', 'list', array('status' => 7)));
 }