예제 #1
0
 public static List <AutorisationRessource> List(string y)
 {
     try
     {
         return(AutorisationRessourceDAO.listAutorisationRessource(y));
     }
     catch (Exception ex)
     {
         throw new Exception("Liste Impossible", ex);
     }
 }
예제 #2
0
 public static bool Delete(AutorisationRessource y)
 {
     try
     {
         return(AutorisationRessourceDAO.deleteAutorisationRessource(y));
     }
     catch (Exception ex)
     {
         throw new Exception("Suppression Impossible", ex);
     }
 }
예제 #3
0
 public static bool Update(AutorisationRessource y)
 {
     try
     {
         return(AutorisationRessourceDAO.updateAutorisationRessource(y));
     }
     catch (Exception ex)
     {
         throw new Exception("Modification Impossible", ex);
     }
 }
예제 #4
0
 public static AutorisationRessource Save(AutorisationRessource y)
 {
     try
     {
         return(AutorisationRessourceDAO.saveAutorisationRessource(y));
     }
     catch (Exception ex)
     {
         throw new Exception("Insertion Impossible", ex);
     }
 }
예제 #5
0
 public static AutorisationRessource One(Int32 y)
 {
     try
     {
         return(AutorisationRessourceDAO.oneAutorisationRessource(y));
     }
     catch (Exception ex)
     {
         throw new Exception("Retour Impossible", ex);
     }
 }
예제 #6
0
 public static Int32 Current(AutorisationRessource y)
 {
     try
     {
         return(AutorisationRessourceDAO.currentAutorisationRessource(y));
     }
     catch (Exception ex)
     {
         throw new Exception("Retour Impossible", ex);
     }
 }