garant/Controleur/ControleurAjaxlistegarant.php
2025-12-01 19:18:15 +00:00

30 lines
588 B
PHP

<?php
require_once 'Framework/Controleur.php';
require_once 'Modele/Gestionconfiee.php';
class ControleurAjaxlistegarant extends Controleur
{
private $gc;
public function __construct() {
$this->gc = new Gestionconfiee();
}
public function index()
{
$codeGcAssureur = $this->requete->getParametreFormulaire("Ajaxlistegarant");
$this->genererVueAjax(array());
}
public function desactiver()
{
$idGarant = $this->requete->getParametreFormulaire("idGarant");
$this->gc->desactivergarant($idGarant) ;
}
}