<?php

namespace App\Http\Controllers\StandardSegmentConstants;

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

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

}