feat: Implement event management functionality with API endpoints and validation

This commit is contained in:
2026-08-03 13:32:31 -03:00
parent c3713c62a6
commit f4638bc984
15 changed files with 691 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
<?php
namespace App\Domains\Forms\Controllers\AdminApp;
use App\Domains\Forms\Resources\EventFormResource;
use App\Domains\Forms\Services\EventFormService;
use App\Http\Controllers\Controller;
class EventFormController extends Controller
{
public function __construct(protected EventFormService $eventFormService) {}
public function __invoke(): EventFormResource
{
return EventFormResource::make(
$this->eventFormService->get()
);
}
}