public static List <FamilleArticle> Liste_(String query) { try { return(FamilleArticleDao.getListFamilleArticle_(query)); } catch (Exception ex) { throw new Exception("Impossible de retourner la liste des élements", ex); } }
public static bool Delete(long id) { try { return(FamilleArticleDao.getDeleteFamilleArticle(id)); } catch (Exception ex) { throw new Exception("Impossible de supprimer cette enregistrement", ex); } }
public FamilleArticle Insert() { try { return(FamilleArticleDao.getAjoutFamilleArticle(famille)); } catch (Exception ex) { throw new Exception("Impossible d'inserer cette enregistrement", ex); } }
public bool Update() { try { return(FamilleArticleDao.getUpdateFamilleArticle(famille)); } catch (Exception ex) { throw new Exception("Impossible de modifier cette enregistrement", ex); } }
public static FamilleArticle One_(long id) { try { return(FamilleArticleDao.getOneFamilleArticle_(id)); } catch (Exception ex) { throw new Exception("Impossible d'atteindre l'enregistrement", ex); } }