<?php

namespace App\Http\Controllers\Bookings;

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

class ApprovePurchaseOrderController
{
    /**
     * @param Request $request
     * @param ApprovePurchaseOrderLogic $logic
     * @return JsonResponse
     */
    public function approve(Request $request, ApprovePurchaseOrderLogic $logic): JsonResponse {
        return $logic->execute($request);
    }

}