<?php

namespace App\Http\Controllers\Accounts;

use App\Classes\Modules\Accounts\ControllersLogic\CreateInvitedCustomerLogic;
use Illuminate\Http\JsonResponse;
use Illuminate\Http\Request;

class CreateInvitedCustomerController
{
    /**
     * @param Request $request
     * @param CreateInvitedCustomerLogic $createCustomerLogic
     * @return JsonResponse
     */
    public function create(Request $request, CreateInvitedCustomerLogic $createCustomerLogic): JsonResponse
    {
        return $createCustomerLogic->execute($request);
    }
}