public static List <ArticleTaxe> Liste(String query) { try { return(ArticleTaxeDao.getListArticleTaxe(query)); } catch (Exception ex) { throw new Exception("Impossible de retourner la liste des élements", ex); } }
public static bool Delete(long id) { try { return(ArticleTaxeDao.getDeleteArticleTaxe(id)); } catch (Exception ex) { throw new Exception("Impossible de supprimer cette enregistrement", ex); } }
public ArticleTaxe Insert() { try { return(ArticleTaxeDao.getAjoutArticleTaxe(article)); } catch (Exception ex) { throw new Exception("Impossible d'inserer cette enregistrement", ex); } }
public bool Update() { try { return(ArticleTaxeDao.getUpdateArticleTaxe(article)); } catch (Exception ex) { throw new Exception("Impossible de modifier cette enregistrement", ex); } }
public static ArticleTaxe One(long id) { try { return(ArticleTaxeDao.getOneArticleTaxe(id)); } catch (Exception ex) { throw new Exception("Impossible d'atteindre l'enregistrement", ex); } }