<?php

namespace App\Http\Controllers\PackingLists\Packages\items;

use App\Classes\Modules\PackageItems\ControllersLogic\DeletePackageItemLogic;
use Illuminate\Http\JsonResponse;
use Illuminate\Http\Request;

class DeletePackageItemController
{
    /**
     * @param Request $request
     * @param DeletePackageItemLogic $logic
     * @return JsonResponse
     */
    public function delete(Request $request, DeletePackageItemLogic $logic): JsonResponse {
        return $logic->execute($request);
    }

}
