<?php

use App\Domains\Catalog\Controllers\AdminApp\OnTicketFeaturedGroupController;
use Illuminate\Support\Facades\Route;

Route::prefix('v1/adminapp/tenant')
    ->middleware(['auth:sanctum', 'adminapp.tenant'])
    ->group(function (): void {
        Route::get('featured-groups', [OnTicketFeaturedGroupController::class, 'index'])
            ->name('adminapp.featured-groups.index');
        Route::post('featured-groups', [OnTicketFeaturedGroupController::class, 'store'])
            ->name('adminapp.featured-groups.store');
        Route::put('featured-groups/{featuredGroup}', [OnTicketFeaturedGroupController::class, 'update'])
            ->name('adminapp.featured-groups.update');
    });
