public static List <PlanCommission> Liste(String query) { try { return(PlanCommissionDao.getListPlanCommission(query)); } catch (Exception ex) { throw new Exception("Impossible de retourner la liste des élements", ex); } }
public static bool Delete(long id) { try { return(PlanCommissionDao.getDeletePlanCommission(id)); } catch (Exception ex) { throw new Exception("Impossible de supprimer cette enregistrement", ex); } }
public PlanCommission Insert() { try { return(PlanCommissionDao.getAjoutPlanCommission(plan)); } catch (Exception ex) { throw new Exception("Impossible d'inserer cette enregistrement", ex); } }
public bool Update() { try { return(PlanCommissionDao.getUpdatePlanCommission(plan)); } catch (Exception ex) { throw new Exception("Impossible de modifier cette enregistrement", ex); } }
public static PlanCommission One(long id) { try { return(PlanCommissionDao.getOnePlanCommission(id)); } catch (Exception ex) { throw new Exception("Impossible d'atteindre l'enregistrement", ex); } }