<?php

namespace App\Http\Controllers\Transports;

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

class CreateTransportController
{
    /**
     * @param Request $request
     * @param CreateTransportLogic $logic
     * @return JsonResponse
     */
    public function create(Request $request, CreateTransportLogic $logic): JsonResponse {
        return $logic->execute($request);
    }

}
