Пример #1
0
 public int deleteAreasByIds(int[] ids) {
   for (int i = 0; i < ids.length; i++) {
     if (areasDao.deleteAreas(ids[i]) <= 0) return 0;
   }
   return 1;
 }
Пример #2
0
 public int deleteAreas(int id) {
   return areasDao.deleteAreas(id);
 }