<?php


namespace App\Http\Controllers\Bookings;

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


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