<?php


namespace App\Http\Controllers\Transactions;

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


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