<?php

namespace App\Http\Controllers\Bookings;

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

class DownloadBookingDocumentController
{
    /**
     * @param Request $request
     * @param DownloadBookingDocumentLogic $logic
     * @return void
     * @throws \App\Classes\Exceptions\MalformedRequestException
     */
    public function download(Request $request, DownloadBookingDocumentLogic $logic) {
        return $logic->execute($request);
    }

}