<?php

namespace App\Http\Controllers\SegmentConstants;

use App\Classes\Modules\SegmentConstants\ControllersLogic\UpdateSegmentConstantLogic;
use Illuminate\Http\JsonResponse;
use Illuminate\Http\Request;

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

}