<?php

namespace App\Http\Controllers\Currencies;

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

class CreateCurrencyController
{
    /**
     * @param Request $request
     * @param CreateCurrencyLogic $logic
     * @return JsonResponse
     */
    public function create(Request $request, CreateCurrencyLogic $logic): JsonResponse {
        return $logic->execute($request);
    }
}