<?php


namespace App\Http\Controllers\Orders;

use Illuminate\Http\JsonResponse;
use Illuminate\Http\Request;
use App\Classes\Modules\Orders\ControllersLogic\ListOrdersV2Logic;


class ListOrdersV2Controller
{
    /**
     * @param Request $request
     * @param ListOrdersV2Logic $logic
     * @return JsonResponse
     */

    public function list(Request $request, ListOrdersV2Logic $logic) : JsonResponse {
        return $logic->execute($request);
    }
}
