class PartyService {

    public DisbandResult disband(String playerName) {
        Set<String> members = getInvitedMembers(playerName);
        DisbandResult result = partyRepository.disband(playerName);
        if (result.success()) {
            playerMessaging.distribute(
                    members, PartyDisband::new);
        }
        return result;
    }

}