<?php

namespace App\Http\Controllers\Transports;

use App\Classes\Modules\Transports\ControllersLogic\UpdateTransportLogic;
use Illuminate\Http\JsonResponse;
use Illuminate\Http\Request;

class UpdateTransportController
{
    /**
     * @param Request $request
     * @param UpdateTransportLogic $logic
     * @return JsonResponse
     */
    public function update(Request $request, UpdateTransportLogic $logic): JsonResponse {
        return $logic->execute($request);
    }

}
