示例#1
0
 public static void insertPlage(PlageViewModel p)
 {
     PlageDAL.insertPlage(new PlageDAO(p.idPlageProperty, p.nomProperty, p.commune.idVilleProperty, p.prelevement.idprelevementProperty, p.departement.idDepartementProperty));
 }
示例#2
0
        public static PlageDAO getPlage(int idPlage)
        {
            PlageDAO p = PlageDAL.getPlage(idPlage);

            return(p);
        }
示例#3
0
 public static void supprimerPlage(int id)
 {
     PlageDAL.supprimerPlage(id);
 }
示例#4
0
        public static ObservableCollection <PlageDAO> listePlages()
        {
            ObservableCollection <PlageDAO> l = PlageDAL.selectPlages();

            return(l);
        }