<?php


namespace App\Http\Controllers\Transactions;

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


class ImportPurchaseOrderTransactionController
{
    /**
     * @param Request $request
     * @param ImportPurchaseOrderTransactionLogic $logic
     * @return JsonResponse
     */
    public function import(Request $request, ImportPurchaseOrderTransactionLogic $logic) : JsonResponse {
        return $logic->execute($request);
    }
}
