<?php


namespace App\Http\Controllers\Transactions;

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


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