group(function () { Route::get('/', [JobdemandController::class, 'index'])->name('jobdemand.index'); Route::get('/create', [JobdemandController::class, 'create'])->name('jobdemand.create'); Route::post('/store', [JobdemandController::class, 'store'])->name('jobdemand.store'); Route::post('/sort', [JobdemandController::class, 'sort'])->name('jobdemand.sort'); Route::post('/updatealias', [JobdemandController::class, 'updatealias'])->name('jobdemand.updatealias'); Route::get('/show/{id}', [JobdemandController::class, 'show'])->name('jobdemand.show'); Route::get('/edit/{id}', [JobdemandController::class, 'edit'])->name('jobdemand.edit') ; Route::post('/update/{id}', [JobdemandController::class, 'update'])->name('jobdemand.update'); Route::delete('/destroy/{id}', [JobdemandController::class, 'destroy'])->name('jobdemand.destroy'); });