<?php

namespace App\Http\Controllers\PackingLists\Packages;

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

class CreatePackageController
{
    /**
     * @param Request $request
     * @param CreatePackageLogic $logic
     * @return JsonResponse
     */
    public function create(Request $request, CreatePackageLogic $logic): JsonResponse {
        return $logic->execute($request);
    }

}
