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