<?php

namespace App\Http\Controllers\Currencies;

use App\Classes\Modules\Currencies\ControllersLogic\ListCurrencyLogic;
use Illuminate\Http\JsonResponse;
use Illuminate\Http\Request;

class ListCurrencyController
{
    /**
     * @param Request $request
     * @param ListCurrencyLogic $logic
     * @return JsonResponse
     */
    public function list(Request $request, ListCurrencyLogic $logic): JsonResponse {
        return $logic->execute($request);
    }

}