create control unit cartable

This commit is contained in:
2025-05-25 08:58:30 +03:30
parent 440e5be062
commit 94d60fae7e
5 changed files with 99 additions and 18 deletions

View File

@@ -0,0 +1,16 @@
<?php
namespace App\Http\Controllers\V3\Dashboard\Mission;
use App\Http\Controllers\Controller;
use App\Services\Cartables\Mission\ControlUnitService;
use Illuminate\Http\JsonResponse;
use Illuminate\Http\Request;
class ControlUnitController extends Controller
{
public function index(Request $request, ControlUnitService $controlUnitService): JsonResponse
{
return response()->json($controlUnitService->datatable($request));
}
}