<?php


namespace App\Http\Controllers\Transactions;

use Illuminate\Http\JsonResponse;
use Illuminate\Http\Request;
use App\Classes\Modules\Transactions\ControllersLogic\CreateBulkPurchaseOrderTransactionLogic;


class CreateBulkPurchaseOrderTransactionController
{
    /**
     * @param Request $request
     * @param CreateBulkPurchaseOrderTransactionLogic $logic
     * @return JsonResponse
     */
    public function create(Request $request, CreateBulkPurchaseOrderTransactionLogic $logic) : JsonResponse {
        return $logic->execute($request);
    }
}
