<?php

namespace App\Http\Controllers\Currencies;

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

class DeleteCurrencyController
{
    /**
     * @param Request $request
     * @param DeleteCurrencyLogic $logic
     * @return JsonResponse
     */
    public function delete(Request $request, DeleteCurrencyLogic $logic): JsonResponse {
        return $logic->execute($request);
    }
}