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