public static List <PosteTravail> List(string query, bool full) { try { return(PosteTravailDAO.getList(query, full)); } catch (Exception ex) { throw new Exception(ex.Message); } }
public static PosteTravail OneById(int id, bool full) { try { return(PosteTravailDAO.getOneById(id, full)); } catch (Exception ex) { throw new Exception(ex.Message); } }