<?php


namespace App\Http\Controllers\Transactions;

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


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