public function deleteProductAction() { if (isset($_GET["id"])) { ProductManager::deleteProduct($_GET["id"]); } $this->allProductAction(); }