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