<?php

namespace App\Http\Controllers\Segments;

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

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

}