<?php

namespace App\Classes\Modules\ControllersLogic\Warehouses;


use App\Classes\Modules\Warehouses\Services\UpdatesWarehouse;
use Illuminate\Http\Request;

class UpdateWarehouseLogic
{
    /** @var  UpdatesWarehouse */
    private $UpdatesWarehouse;

    /**
     * UpdateWarehouseLogic constructor.
     * @param UpdatesWarehouse $UpdatesWarehouse
     */
    public function __construct(UpdatesWarehouse $UpdatesWarehouse)
    {
        $this->UpdatesWarehouse = $UpdatesWarehouse;
    }


    public function execute(string $id, Request $request){
        return $this->UpdatesWarehouse->execute($id,$request);
    }

}