<?php

namespace App\Http\Controllers\Orders;

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

class RestoreOrderController
{
    /**
     * @param Request $request
     * @param RestoreOrderLogic $logic
     * @return JsonResponse
     */
    public function restore(Request $request, RestoreOrderLogic $logic): JsonResponse
    {
        return $logic->execute($request);
    }
}