<?php

use Illuminate\Support\Facades\Route;
use Modules\Catalog\Http\Controllers\DestinationController;
use Modules\Catalog\Http\Controllers\EvCompanyController;

Route::prefix('api/v1')->middleware(['api', 'api.auth', 'throttle:api-read'])->group(function () {
    Route::get('/companies', [EvCompanyController::class, 'index'])->name('catalog.companies.index');
    Route::get('/destinations', [DestinationController::class, 'index'])->name('catalog.destinations.index');
});
