<?php

namespace App\Http\Controllers\Transports;

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

class DeleteTransportController
{
    /**
     * @param Request $request
     * @param DeleteTransportLogic $logic
     * @return JsonResponse
     */
    public function delete(Request $request, DeleteTransportLogic $logic): JsonResponse {
        return $logic->execute($request);
    }

}
