<?php

use Illuminate\Support\Facades\Route;
use App\Modules\TailorManagement\Http\Controllers\TailorManagementController;

Route::prefix('tailormanagement')->group(function () {
    Route::get('/', [TailorManagementController::class, 'index']);          // list all tailors
    Route::post('/add', [TailorManagementController::class, 'addTailor']);  // add a new tailor
    Route::post('/update', [TailorManagementController::class, 'updateTailor']); // update tailor info
    Route::get('/test', [TailorManagementController::class, 'test']);       // test route
});
