예제 #1
0
 public static List <PhotosArticle> List(string y)
 {
     try
     {
         return(PhotosArticleDAO.listPhotosArticle(y));
     }
     catch (Exception ex)
     {
         throw new Exception("Liste Impossible", ex);
     }
 }
예제 #2
0
 public static bool Delete(PhotosArticle y)
 {
     try
     {
         return(PhotosArticleDAO.deletePhotosArticle(y));
     }
     catch (Exception ex)
     {
         throw new Exception("Suppression Impossible", ex);
     }
 }
예제 #3
0
 public static bool Update(PhotosArticle y)
 {
     try
     {
         return(PhotosArticleDAO.updatePhotosArticle(y));
     }
     catch (Exception ex)
     {
         throw new Exception("Modification Impossible", ex);
     }
 }
예제 #4
0
 public static PhotosArticle Save(PhotosArticle y)
 {
     try
     {
         return(PhotosArticleDAO.savePhotosArticle(y));
     }
     catch (Exception ex)
     {
         throw new Exception("Insertion Impossible", ex);
     }
 }
예제 #5
0
 public static PhotosArticle One(Int32 y)
 {
     try
     {
         return(PhotosArticleDAO.onePhotosArticle(y));
     }
     catch (Exception ex)
     {
         throw new Exception("Retour Impossible", ex);
     }
 }
예제 #6
0
 public static Int32 Current(PhotosArticle y)
 {
     try
     {
         return(PhotosArticleDAO.currentPhotosArticle(y));
     }
     catch (Exception ex)
     {
         throw new Exception("Retour Impossible", ex);
     }
 }