public List<User> getAllUsersAndLastDate() { return userDAO.getAllUsersAndLastDate(); }
@Override public UserDetails loadUserByUsername(String s) throws UsernameNotFoundException { return userDAO.getUser(s); }
@Override public List<User> getAllUsers() { return userDAO.getAllUsers(); }
@Override public User getUser(String login) { return userDAO.getUser(login); }
@Override public void delete(User user) { userDAO.deleteUser(user); }
@Override public void edit(User user) { userDAO.editUser(user); }
@Override public void add(User user) { userDAO.addUser(user); }