Exemple #1
0
 public static void insertPhoto(PhotoDAO p)
 {
     PhotoDAL.insertPhoto(p);
 }
Exemple #2
0
 public static void supprimerPhoto(int id)
 {
     PhotoDAL.supprimerPhoto(id);
 }
Exemple #3
0
        public static PhotoDAO getPhoto(int idPhoto)
        {
            PhotoDAO p = PhotoDAL.getPhoto(idPhoto);

            return(p);
        }
Exemple #4
0
 public static void updatePhoto(PhotoDAO p)
 {
     PhotoDAL.updatePhoto(p);
 }
Exemple #5
0
        public static ObservableCollection <PhotoDAO> listePhotos()
        {
            ObservableCollection <PhotoDAO> l = PhotoDAL.selectPhotos();

            return(l);
        }