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