class InviteUserController {

    @GetMapping("/find-external-invites")
    public RestResult<List<ExternalInviteResource>> findExternalInvites(@RequestParam(value = "searchString") final String searchString,
                                                                        @RequestParam(value = "searchCategory") final SearchCategory searchCategory) {
        return inviteUserService.findExternalInvites(searchString, searchCategory).toGetResponse();
    }

}