public function deleteAction($id)
    {
        try {
            return parent::deleteAction($id);
        } catch (\Exception $e) {
            return $this->deleteActionException($e);
        }
    }
public function deleteAction($id)
    {
        try {
            return parent::deleteAction($id);
        } catch (\Exception $e) {
            return $this->deleteActionException($e);
        }
    }
public function deleteAction ( $ id ) { try { return parent :: deleteAction ( $ id ) ; } catch ( \ Exception $ e ) { return $ this -> deleteActionException ( $ e ) ; } }
deleteAction override from CRUDController.

@param int|null $id Object id

@see Sonata\AdminBundle\Controller\CRUDController::delete()

@return Response|RedirectResponse
deleteAction override from CRUDController .