public function validOrderAction()
 {
     if (isset($_SESSION["user"])) {
         if (isset($_SESSION["cart"]) && $_SESSION["cart"] != null) {
             $order = new Order($_POST["total"], $_SESSION["user"]->getId());
             OrderManager::setOrder($order);
             CartProductManager::clearCart();
             header('Location: index.php?controller=Front&method=membre');
         } else {
             header('Location: index.php');
         }
     } else {
         $this->signinAction();
     }
 }