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