<?php


namespace App\Http\Controllers\Transactions;

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


class UpdateShippingInvoiceTransactionController
{
    /**
     * @param Request $request
     * @param UpdateShippingInvoiceTransactionLogic $logic
     * @return JsonResponse
     */
    public function update(Request $request, UpdateShippingInvoiceTransactionLogic $logic) : JsonResponse {
        return $logic->execute($request);
    }
}
