<?php
declare(strict_types=1);

use App\Middleware\AuthMiddleware;
use App\Middleware\TenantMiddleware;

$mw = [AuthMiddleware::class, TenantMiddleware::class];
$controller = 'TaxRateController';

$router->get('/tax-rates', "$controller@index", $mw);
$router->post('/tax-rates', "$controller@store", $mw);
$router->delete('/tax-rates/{id}', "$controller@delete", $mw);
