<?php

namespace App\Http\Controllers\Warehouses;


use App\Classes\Modules\ControllersLogic\Warehouses\ListWarehouseOrderLogic;

class WarehouseOrderController
{


    /**
     * @param int $id
     * @param string $category
     * @param ListWarehouseOrderLogic $logic
     * @return \Illuminate\Http\Resources\Json\AnonymousResourceCollection
     * @throws \App\Classes\Modules\ControllerLogic\Exceptions\InternalServerErrorException
     */
    public function list(int $id, string $category, ListWarehouseOrderLogic $logic){
        return $logic->execute($id, $category);

    }

}