Пример #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);
     }
 }