<?php

namespace App\Http\Controllers\Currencies\Rates;

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

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

}