<?php

namespace App\Http\Controllers\Delivery;

use App\Classes\Modules\Delivery\ControllersLogic\CreateDeliveryCustomerLogic;
use Illuminate\Http\JsonResponse;
use Illuminate\Http\Request;

class CreateDeliveryCustomerController
{
    /**
     * @param Request $request
     * @param CreateDeliveryCustomerLogic $createDeliveryCustomerLogic
     * @return JsonResponse
     */
    public function create(Request $request, CreateDeliveryCustomerLogic $createDeliveryCustomerLogic): JsonResponse
    {
        return $createDeliveryCustomerLogic->execute($request);
    }
}