<?php

namespace App\Http\Controllers\Companies;

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

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

}