<?php


namespace App\Http\Controllers\Transactions;

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


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