Пример #1
0
 public int updateAreasList(List<Areas> areaList) {
   for (Areas areas : areaList) {
     if (areasDao.updateAreas(areas) <= 0) return 0;
   }
   return 1;
 }
Пример #2
0
 public int updateAreas(Areas area) {
   return areasDao.updateAreas(area);
 }