<?php


namespace App\Http\Controllers\Transactions;

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


class ListWalletTransactionsController
{
    /**
     * @param Request $request
     * @param ListWalletTransactionsLogic $logic
     * @return JsonResponse
     */
    public function list(Request $request, ListWalletTransactionsLogic $logic) : JsonResponse {
        return $logic->execute($request);
    }
}
