示例#1
0
 public static List <PlanRemise> Liste(String query)
 {
     try
     {
         return(PlanRemiseDao.getListPlanRemise(query));
     }
     catch (Exception ex)
     {
         throw new Exception("Impossible de retourner la liste des élements", ex);
     }
 }
示例#2
0
 public static bool Delete(long id)
 {
     try
     {
         return(PlanRemiseDao.getDeletePlanRemise(id));
     }
     catch (Exception ex)
     {
         throw new Exception("Impossible de supprimer cette enregistrement", ex);
     }
 }
示例#3
0
 public PlanRemise Insert()
 {
     try
     {
         return(PlanRemiseDao.getAjoutPlanRemise(plan));
     }
     catch (Exception ex)
     {
         throw new Exception("Impossible d'inserer cette enregistrement", ex);
     }
 }
示例#4
0
 public bool Update()
 {
     try
     {
         return(PlanRemiseDao.getUpdatePlanRemise(plan));
     }
     catch (Exception ex)
     {
         throw new Exception("Impossible de modifier cette enregistrement", ex);
     }
 }
示例#5
0
 public static PlanRemise One(long id)
 {
     try
     {
         return(PlanRemiseDao.getOnePlanRemise(id));
     }
     catch (Exception ex)
     {
         throw new Exception("Impossible d'atteindre l'enregistrement", ex);
     }
 }