class ApplicationTeamController {

    @PostMapping(params = "remove-team-member")
    public String removeUser(@PathVariable long applicationId,
                             @PathVariable long questionId,
                             @RequestParam("remove-team-member") final long inviteId) {
        inviteRestService.removeApplicationInvite(inviteId).getSuccess();
        return redirectToApplicationTeam(applicationId, questionId);
    }

}