<?php

namespace App\Http\Controllers\Segments;

use App\Classes\Modules\ServiceTypes\ControllersLogic\UpdateCustomServiceConstantLogic;
use Illuminate\Http\JsonResponse;
use Illuminate\Http\Request;

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

}