Пример #1
0
 //public static void updateCommune(CommuneViewModel e)
 //{
 //    CommuneDAL.updateCommune(new CommuneDAO(e.idCommuneProperty, e.nomCommuneProperty, e.departementCommuneProperty.idDepartementProperty));
 //}
 public static void updateCommune(CommuneDAO e)
 {
     CommuneDAL.updateCommune(e);
 }
Пример #2
0
 //public static void insertCommune(CommuneViewModel e)
 //{
 //    CommuneDAL.insertCommune(new CommuneDAO(e.idCommuneProperty, e.nomCommuneProperty, e.departementCommuneProperty.idDepartementProperty));
 //}
 public static void insertCommune(CommuneDAO e)
 {
     CommuneDAL.insertCommune(e);
 }
Пример #3
0
        public static CommuneDAO getCommunes(int idCommune)
        {
            CommuneDAO e = CommuneDAL.getCommune(idCommune);

            return(e);
        }