Exemplo n.º 1
0
 public static List <PlanTarifaire> Liste(String query)
 {
     try
     {
         return(PlanTarifaireDao.getListPlanTarifaire(query));
     }
     catch (Exception ex)
     {
         throw new Exception("Impossible de retourner la liste des élements", ex);
     }
 }
Exemplo n.º 2
0
 public static bool Delete(long id)
 {
     try
     {
         return(PlanTarifaireDao.getDeletePlanTarifaire(id));
     }
     catch (Exception ex)
     {
         throw new Exception("Impossible de supprimer cette enregistrement", ex);
     }
 }
Exemplo n.º 3
0
 public PlanTarifaire Insert()
 {
     try
     {
         return(PlanTarifaireDao.getAjoutPlanTarifaire(plan));
     }
     catch (Exception ex)
     {
         throw new Exception("Impossible d'inserer cette enregistrement", ex);
     }
 }
Exemplo n.º 4
0
 public bool Update()
 {
     try
     {
         return(PlanTarifaireDao.getUpdatePlanTarifaire(plan));
     }
     catch (Exception ex)
     {
         throw new Exception("Impossible de modifier cette enregistrement", ex);
     }
 }
Exemplo n.º 5
0
 public static PlanTarifaire One(long id)
 {
     try
     {
         return(PlanTarifaireDao.getOnePlanTarifaire(id));
     }
     catch (Exception ex)
     {
         throw new Exception("Impossible d'atteindre l'enregistrement", ex);
     }
 }