/**
  * The delete action
  *
  * @param int $id
  *
  * @Route("{menuid}/items/{id}/delete", requirements={"id" = "\d+"}, name="kunstmaanmenubundle_admin_menuitem_delete")
  * @Method({"GET", "POST"})
  *
  * @return array
  */
 public function deleteAction(Request $request, $menuid, $id)
 {
     $result = $this->checkMenuLocale($request, $menuid, 'kunstmaanmenubundle_admin_menuitem_delete', $id);
     if ($result) {
         return $result;
     }
     return parent::doDeleteAction($this->getAdminListConfigurator($request, $menuid), $id, $request);
 }
 /**
  * @Route("/{id}/delete", requirements={"id" = "\d+"}, name="kunstmaantaggingbundle_admin_tag_delete")
  * @Method({"GET", "POST"})
  * @Template("KunstmaanAdminListBundle:Default:delete.html.twig")
  */
 public function deleteAction(Request $request, $id)
 {
     return parent::doDeleteAction($this->getAdminListConfigurator(), $id, $request);
 }