<?php


namespace App\Http\Controllers\Bookings;

use Illuminate\Http\JsonResponse;
use Illuminate\Http\Request;
use App\Classes\Modules\Bookings\ControllersLogic\ListBookingsLogic;


class ListBookingsController
{
    /**
     * @param Request $request
     * @param ListBookingsLogic $logic
     * @return JsonResponse
     */

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