feat(forms): add desfile entry reservation form
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
<?php
|
||||
|
||||
namespace App\Shared\Forms\Controllers\AdminApp;
|
||||
|
||||
use App\Http\Controllers\Controller;
|
||||
use App\Shared\Forms\Resources\DesfileEntryReservationFormResource;
|
||||
use App\Shared\Forms\Services\DesfileEntryReservationFormService;
|
||||
|
||||
class DesfileEntryReservationFormController extends Controller
|
||||
{
|
||||
public function __construct(
|
||||
private readonly DesfileEntryReservationFormService $formService,
|
||||
) {}
|
||||
|
||||
public function __invoke(): DesfileEntryReservationFormResource
|
||||
{
|
||||
return DesfileEntryReservationFormResource::make($this->formService->get());
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user