<?php

namespace App\Http\Controllers\Orders;

use App\Classes\Modules\Orders\ControllersLogic\RequestChangeOrderAddressLogic;
use Illuminate\Http\JsonResponse;
use Illuminate\Http\Request;

class RequestChangeOrderAddressController
{
    /**
     * @param Request $request
     * @param ChangeOrderAddressLogic $logic
     * @return JsonResponse
     */
    public function request(Request $request, RequestChangeOrderAddressLogic $logic): JsonResponse
    {
        return $logic->execute($request);
    }
}
