<?php


namespace App\Http\Controllers\Transactions;

use Illuminate\Http\JsonResponse;
use Illuminate\Http\Request;
use App\Classes\Modules\Transactions\ControllersLogic\DeleteTransactionLogic;


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