<?php

namespace App\Http\Controllers\Segments;

use App\Classes\Modules\Segments\ControllersLogic\ListAirShipmentPriceLogic;
use Illuminate\Http\JsonResponse;
use Illuminate\Http\Request;

class ListAirShipmentPriceController
{
    /**
     * @param Request $request
     * @param ListSegmentLogic $logic
     * @return JsonResponse
     */
    public function list(Request $request, ListAirShipmentPriceLogic $logic): JsonResponse {
        return $logic->execute($request);
    }

}