<?php

namespace App\Http\Controllers\Companies;

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

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

}