Пример #1
0
 /**
  * Removes a Voter.
  *
  * @param voter the Voter to remove
  */
 public void removeVoter(Voter voter) {
   voterDao.remove(voter);
 }
Пример #2
0
 /**
  * Returns list of all voters.
  *
  * @return list of all voters
  */
 public List<Voter> getAllVoters() {
   return voterDao.findAllByEvent(event);
 }