<?php

namespace App\Http\Controllers\PackingLists\Packages;

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

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

}
