Refactored InviteController::sendAction()