Ejemplo n.º 1
0
 public static List <CategorieClient> Liste(String query)
 {
     try
     {
         return(CategorieClientDao.getListCategorieClient(query));
     }
     catch (Exception ex)
     {
         throw new Exception("Impossible de retourner la liste des élements", ex);
     }
 }
Ejemplo n.º 2
0
 public static bool Delete(long id)
 {
     try
     {
         return(CategorieClientDao.getDeleteCategorieClient(id));
     }
     catch (Exception ex)
     {
         throw new Exception("Impossible de supprimer cette enregistrement", ex);
     }
 }
Ejemplo n.º 3
0
 public CategorieClient Insert()
 {
     try
     {
         return(CategorieClientDao.getAjoutCategorieClient(categorie));
     }
     catch (Exception ex)
     {
         throw new Exception("Impossible d'inserer cette enregistrement", ex);
     }
 }
Ejemplo n.º 4
0
 public bool Update()
 {
     try
     {
         return(CategorieClientDao.getUpdateCategorieClient(categorie));
     }
     catch (Exception ex)
     {
         throw new Exception("Impossible de modifier cette enregistrement", ex);
     }
 }
Ejemplo n.º 5
0
 public static CategorieClient One(long id)
 {
     try
     {
         return(CategorieClientDao.getOneCategorieClient(id));
     }
     catch (Exception ex)
     {
         throw new Exception("Impossible d'atteindre l'enregistrement", ex);
     }
 }