Beispiel #1
0
 public static List <TrancheHoraire> List(string query, string adresse)
 {
     try
     {
         return(TrancheHoraireDAO.getList(query, adresse));
     }
     catch (Exception ex)
     {
         throw new Exception(ex.Message);
     }
 }
Beispiel #2
0
 public static TrancheHoraire OneById(int id)
 {
     try
     {
         return(TrancheHoraireDAO.getOneById(id));
     }
     catch (Exception ex)
     {
         throw new Exception(ex.Message);
     }
 }