<?php

namespace App\Http\Controllers\Orders;


use App\Classes\Modules\ControllersLogic\Orders\UpdateReceiveNoteLogic;
use Illuminate\Http\Request;

class UpdateReceiveNoteController
{
    /**
     * @param string $orderId
     * @param Request $request
     * @param UpdateReceiveNoteLogic $logic
     * @return \Illuminate\Http\JsonResponse
     * @throws \App\Classes\Modules\ControllerLogic\Exceptions\InternalServerErrorException
     */
    public function update(string $orderId, Request $request, UpdateReceiveNoteLogic $logic){
        return $logic->execute($orderId, $request);
    }

}