<?php

namespace App\Http\Controllers\Vouchers;


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

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

}
