public static List <RemiseFacture> Liste(String query) { try { return(RemiseFactureDao.getListRemiseFacture(query)); } catch (Exception ex) { throw new Exception("Impossible de retourner la liste des élements", ex); } }
public static bool Delete(long id) { try { return(RemiseFactureDao.getDeleteRemiseFacture(id)); } catch (Exception ex) { throw new Exception("Impossible de supprimer cette enregistrement", ex); } }
public RemiseFacture Insert() { try { return(RemiseFactureDao.getAjoutRemiseFacture(remise)); } catch (Exception ex) { throw new Exception("Impossible d'inserer cette enregistrement", ex); } }
public bool Update() { try { return(RemiseFactureDao.getUpdateRemiseFacture(remise)); } catch (Exception ex) { throw new Exception("Impossible de modifier cette enregistrement", ex); } }
public static RemiseFacture One(long id) { try { return(RemiseFactureDao.getOneRemiseFacture(id)); } catch (Exception ex) { throw new Exception("Impossible d'atteindre l'enregistrement", ex); } }