<?php


namespace App\Http\Controllers\Orders;

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


class ListOrdersController
{
    /**
     * @param Request $request
     * @param ListOrdersLogic $logic
     * @return JsonResponse
     */

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