public static void deleteCommune(int id) { DALCommune.supprimerCommune(id); }
public static ObservableCollection <DAOCommune> listeCommune() { ObservableCollection <DAOCommune> l = DALCommune.selectCommune(); return(l); }
public static void insertCommune(CommuneViewModel c) { DALCommune.insertCommune(new DAOCommune(c.nomCommuneProperty, c.departement.idDepartementProperty)); }
public static DAOCommune getCommune(int idCommune) { DAOCommune commune = DALCommune.getCommune(idCommune); return(commune); }