<?php

namespace App\Http\Controllers\Contacts;

use App\Classes\Modules\Contacts\ControllersLogic\UpdateContactLogic;
use Illuminate\Http\JsonResponse;
use Illuminate\Http\Request;

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

}