<?php

namespace App\Http\Controllers\Vouchers;

use App\Classes\Modules\Vouchers\ControllersLogic\ListUserVouchersLogic;
use Illuminate\Http\JsonResponse;
use Illuminate\Http\Request;

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

}
