<?php

namespace App\Http\Controllers\Currencies\Rates;

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

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

}