<?php

use Illuminate\Support\Facades\Route;
use App\Modules\TenantManager\Http\Controllers\TenantManagerController;

Route::prefix('tenantmanager')->group(function () {
    Route::get('/', [TenantManagerController::class, 'index']);             // list all tenants
    Route::post('/add', [TenantManagerController::class, 'addTenant']);    // add a new tenant
    Route::post('/update', [TenantManagerController::class, 'updateTenant']); // update tenant info
    Route::get('/test', [TenantManagerController::class, 'test']);         // test route
});
