Beispiel #1
0
 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);
     }
 }
Beispiel #2
0
 public static bool Delete(long id)
 {
     try
     {
         return(RemiseFactureDao.getDeleteRemiseFacture(id));
     }
     catch (Exception ex)
     {
         throw new Exception("Impossible de supprimer cette enregistrement", ex);
     }
 }
Beispiel #3
0
 public RemiseFacture Insert()
 {
     try
     {
         return(RemiseFactureDao.getAjoutRemiseFacture(remise));
     }
     catch (Exception ex)
     {
         throw new Exception("Impossible d'inserer cette enregistrement", ex);
     }
 }
Beispiel #4
0
 public bool Update()
 {
     try
     {
         return(RemiseFactureDao.getUpdateRemiseFacture(remise));
     }
     catch (Exception ex)
     {
         throw new Exception("Impossible de modifier cette enregistrement", ex);
     }
 }
Beispiel #5
0
 public static RemiseFacture One(long id)
 {
     try
     {
         return(RemiseFactureDao.getOneRemiseFacture(id));
     }
     catch (Exception ex)
     {
         throw new Exception("Impossible d'atteindre l'enregistrement", ex);
     }
 }