class CompetitionSetupFinanceUserController {

    @PostMapping("/{competitionId}/finance-users/invite")
    public RestResult<Void> inviteCompetitionFinanceUser(@PathVariable("competitionId") final long competitionId, @RequestBody InviteUserResource inviteUserResource) {
        return competitionSetupFinanceUserService.inviteFinanceUser(inviteUserResource.getInvitedUser(), competitionId).toPostResponse();
    }

}