<?php

namespace App\Http\Controllers\Orders;

use App\Classes\Modules\ControllersLogic\Orders\UpdateOrderStepLogic;
use Illuminate\Http\Request;

class UpdateOrderStepController
{

    /**
     * @param String $orderId
     * @param Request $request
     * @param UpdateOrderStepLogic $logic
     * @return \Illuminate\Http\JsonResponse
     */
    public function update(String $orderId, Request $request, UpdateOrderStepLogic $logic){
        return $logic->execute($orderId, $request);
    }
}