private function removeAction()
 {
     $iId = intval($_GET['id']);
     $oProduct = ProductManager::get($iId);
     try {
         $result = ProductManager::remove($iId);
         $aProducts = ProductManager::getAll();
         require ROOT . 'src/ecommerce/view/product/list.php';
     } catch (\Exception $e) {
         $result = $e->getMessage();
         echo "Le produit ne peut pas être supprimé car il fait partie d'une commande";
     }
 }