code: public function handleRemove(int $id) : void
      {
          if ($this->presenter->isAjax() && $this->presenter->user->isAllowed(StructureAuthorizator::RES_STRUCTURE_REMOVE_MODAL))
          {
              $this->structureEntity = $this->structureRepository->findOneByIdWithRecipe($id);
  
              $this->structureManager->delete($this->structureEntity);
  
              $this->presenter->notificationAjax(
                  "{$this->structureEntity->getRecipeSlug()->getRecipe()->getName()} odstraněn/a.",
                  "Položka '{$this->structureEntity->getRecipeSlug()->getRecipe()->getName()}' s id '{$this->structureEntity->getId()}' byla úspěšně odstraněna.",
                  'success',
                  FALSE
              );
  
              $this->presenter->handleModalToggle('hide', '#wakers_structure_structure_remove_modal', FALSE);
  
              $this->onRemove();
          }
      }
docs: Handler pro odstranění
  @param int $id
  @throws \Exception