Example #1
0
 public static List <Taxe> Liste(String query)
 {
     try
     {
         return(TaxeDao.getListTaxe(query));
     }
     catch (Exception ex)
     {
         throw new Exception("Impossible de retourner la liste des élements", ex);
     }
 }
Example #2
0
 public static bool Delete(long id)
 {
     try
     {
         return(TaxeDao.getDeleteTaxe(id));
     }
     catch (Exception ex)
     {
         throw new Exception("Impossible de supprimer cette enregistrement", ex);
     }
 }
Example #3
0
 public Taxe Insert()
 {
     try
     {
         return(TaxeDao.getAjoutTaxe(taxe));
     }
     catch (Exception ex)
     {
         throw new Exception("Impossible d'inserer cette enregistrement", ex);
     }
 }
Example #4
0
 public bool Update()
 {
     try
     {
         return(TaxeDao.getUpdateTaxe(taxe));
     }
     catch (Exception ex)
     {
         throw new Exception("Impossible de modifier cette enregistrement", ex);
     }
 }
Example #5
0
 public static Taxe One(long id)
 {
     try
     {
         return(TaxeDao.getOneTaxe(id));
     }
     catch (Exception ex)
     {
         throw new Exception("Impossible d'atteindre l'enregistrement", ex);
     }
 }