<?php

namespace App\Http\Controllers\Orders;

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

class ApproveChangeOrderAddressController
{
    /**
     * @param Request $request
     * @param ApproveChangeOrderAddressLogic $logic
     * @return JsonResponse
     */
    public function approve(Request $request, ApproveChangeOrderAddressLogic $logic): JsonResponse
    {
        return $logic->execute($request);
    }
}
