<?php

namespace App\Http\Controllers\Companies;

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

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

}