<?php


namespace App\Http\Controllers\Bookings;

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


class ListBookingsJobController
{
    /**
     * @param Request $request
     * @param ListBookingJobLogic $logic
     * @return JsonResponse
     */

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