<?php

namespace App\Http\Controllers\PackingLists;

use App\Classes\Modules\PackingLists\ControllersLogic\ReschedulePackingListLogic;
use Illuminate\Http\JsonResponse;
use Illuminate\Http\Request;

class ReschedulePackingListController
{
    /**
     * @param Request $request
     * @param ReschedulePackingListLogic $logic
     * @return JsonResponse
     */
    public function reschedule(Request $request, ReschedulePackingListLogic $logic): JsonResponse {
        return $logic->execute($request);
    }
}
