public static void insertPlage(PlageViewModel p) { DALPlage.insertPlage(new DAOPlage(p.nomPlageProperty, p.Commune.idCommuneProperty, p.superficieProperty)); }
public static ObservableCollection <DAOPlage> listePlages() { ObservableCollection <DAOPlage> l = DALPlage.selectPlage(); return(l); }
public static void supprimerPlage(int id) { DALPlage.supprimerPlage(id); }
public static DAOPlage getPlage(int idPlage) { DAOPlage plage = DALPlage.getPlage(idPlage); return(plage); }