@Override public List<Ticket> getBookedTickets(int userID) { return userDao.getBookedTickets(userID); }
@Override public List<User> getUsersByName(String name) { return userDao.getUsersByName(name); }
@Override public User getUserByEmail(String email) { return userDao.getUserByEmail(email); }
@Override public User getByID(int id) { return userDao.getById(id); }
@Override public void remove(int id) { System.out.println("-------Remove user with id: " + id + " ----------"); userDao.remove(id); }
@Override public void register(String email, String name, Date birthday) { System.out.println("-------Register user: "******" ----------"); userDao.register(email, name, birthday); }