<?php

namespace App\Http\Controllers\ServiceTypes;

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

class UpdateServiceTypeStatusController
{
    /**
     * @param Request $request
     * @param UpdateServiceTypeStatusLogic $logic
     * @return JsonResponse
     */
    public function activate(Request $request, UpdateServiceTypeStatusLogic $logic): JsonResponse {
        return $logic->execute($request);
    }

}