<?php

namespace App\Http\Controllers\Accounts;

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

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