public static List <CategorieComptable> Liste(String query) { try { return(CategorieComptableDao.getListCategorieComptable(query)); } catch (Exception ex) { throw new Exception("Impossible de retourner la liste des élements", ex); } }
public static bool Delete(long id) { try { return(CategorieComptableDao.getDeleteCategorieComptable(id)); } catch (Exception ex) { throw new Exception("Impossible de supprimer cette enregistrement", ex); } }
public CategorieComptable Insert() { try { return(CategorieComptableDao.getAjoutCategorieComptable(categorie)); } catch (Exception ex) { throw new Exception("Impossible d'inserer cette enregistrement", ex); } }
public bool Update() { try { return(CategorieComptableDao.getUpdateCategorieComptable(categorie)); } catch (Exception ex) { throw new Exception("Impossible de modifier cette enregistrement", ex); } }
public static CategorieComptable One(long id) { try { return(CategorieComptableDao.getOneCategorieComptable(id)); } catch (Exception ex) { throw new Exception("Impossible d'atteindre l'enregistrement", ex); } }