<?php

namespace App\Http\Controllers\Companies;

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

class UpdateCompanyTypeController
{
    /**
     * @param Request $request
     * @param AddNewMemberLogic $execute
     * @return JsonResponse
     */
    public function create(Request $request, UpdateCompanyTypeLogic $execute) : JsonResponse
    {
        return $execute->execute($request);
    }
}
