<?php

namespace App\Http\Controllers\Companies;

use App\Classes\Modules\Companies\ControllersLogic\UpdateCompanyStatusLogic;
use Illuminate\Http\JsonResponse;
use Illuminate\Http\Request;

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

}