Example #1
0
 public static void deleteCommune(int id)
 {
     DALCommune.supprimerCommune(id);
 }
Example #2
0
        public static ObservableCollection <DAOCommune> listeCommune()
        {
            ObservableCollection <DAOCommune> l = DALCommune.selectCommune();

            return(l);
        }
Example #3
0
 public static void insertCommune(CommuneViewModel c)
 {
     DALCommune.insertCommune(new DAOCommune(c.nomCommuneProperty, c.departement.idDepartementProperty));
 }
Example #4
0
        public static DAOCommune getCommune(int idCommune)
        {
            DAOCommune commune = DALCommune.getCommune(idCommune);

            return(commune);
        }