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