コード例 #1
0
 public static List <Ressources> List(string y)
 {
     try
     {
         return(RessourcesDAO.listRessources(y));
     }
     catch (Exception ex)
     {
         throw new Exception("Liste Impossible", ex);
     }
 }
コード例 #2
0
 public static bool Delete(Ressources y)
 {
     try
     {
         return(RessourcesDAO.deleteRessources(y));
     }
     catch (Exception ex)
     {
         throw new Exception("Suppression Impossible", ex);
     }
 }
コード例 #3
0
 public static bool Update(Ressources y)
 {
     try
     {
         return(RessourcesDAO.updateRessources(y));
     }
     catch (Exception ex)
     {
         throw new Exception("Modification Impossible", ex);
     }
 }
コード例 #4
0
 public static Ressources Save(Ressources y)
 {
     try
     {
         return(RessourcesDAO.saveRessources(y));
     }
     catch (Exception ex)
     {
         throw new Exception("Insertion Impossible", ex);
     }
 }
コード例 #5
0
 public static Ressources One(Int32 y)
 {
     try
     {
         return(RessourcesDAO.oneRessources(y));
     }
     catch (Exception ex)
     {
         throw new Exception("Retour Impossible", ex);
     }
 }
コード例 #6
0
 public static Int32 Current(Ressources y)
 {
     try
     {
         return(RessourcesDAO.currentRessources(y));
     }
     catch (Exception ex)
     {
         throw new Exception("Retour Impossible", ex);
     }
 }