<?php

namespace App\Http\Controllers\ServiceTypes;

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

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

}