<?php

namespace App\Http\Controllers\Companies;

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

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

}
