<?php

namespace App\Http\Controllers\ServiceTypes;

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

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

}