<?php

namespace App\Http\Controllers\Companies;

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

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

}