public GetListBills() {
   try {
     amountOfBills = mySQLBillDAO.getAmountOfBills();
     amountOfPages = (int) Math.ceil(amountOfBills * 1.0 / AMOUNT_OF_ELEMENTS_ON_PAGE);
   } catch (SQLException e) {
     logger.error(e);
   }
 }
 @Override
 public List getList(int from, int count) {
   try {
     return mySQLBillDAO.getBills(from, count);
   } catch (SQLException e) {
     logger.error(e);
   }
   return null;
 }