<?php

namespace App\Http\Controllers\ServiceTypes;

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

class DeleteServiceTypeController
{
    /**
     * @param Request $request
     * @param DeleteServiceTypeLogic $logic
     * @return JsonResponse
     */
    public function destroy(Request $request, DeleteServiceTypeLogic $logic): JsonResponse {
        return $logic->execute($request);
    }

}