public List<UserDto> getAllUsers() { return securityController.findByFilter( wild(filter.getUsername()), wild(filter.getEmail()), wild(filter.getFirstname()), wild(filter.getSurename()), filter.getRole()); }
public String addUser() { securityController.registerUser(selectedUser); return "/views/secure/users"; }