<?php


namespace App\Http\Controllers\Transactions;

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


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