How to define Routes In laravel (web.php)
<?php
use App\Http\Controllers\BankController;
use App\Http\Controllers\HomeController;
use Illuminate\Support\Facades\Route;
Route::get('/', [HomeController::class, 'index']);
Route::group(['prefix' => 'bank'], function(){
Route::get('/index', [BankController::class, 'index']);
Route::get('/create', [BankController::class, 'create']);
Route::post('/store', [BankController::class, 'store']);
Route::get('/edit/{id}', [BankController::class, 'edit']);
Route::post('/update', [BankController::class, 'update']);
Route::get('/delete/{id}', [BankController::class, 'destroy']);
});
Additional Reading
- घर बैठे ऑनलाइन करें हर महीने 60,000 रुपये तक कमायें 2022
- Top 5 Affiliate Marketing Program In India 2022
- Wishing Website क्या है और इससे पैसे कैसे कमाये? 2022
- एंड्राइड मोबाइल से पैसे कैसे कमाए 2022
- MS Word 2010 Download
- एंड्राइड मोबाइल से पैसे कैसे कमाए 2022
- Microsoft Powerpoint 2010 Free Download
- Download and Install IDM for PC in 2022
- Download & Install Wondershare Filmora X in 2022
- Office 2016 Pro Plus Free Download in 2022
- Adobe XD CC 2021 Free Download
- Adobe Premiere Pro 2022 Free Setup Download
- Unity 3D Pro Free Download in 2022
- TeamViewer Crack Version Download In Free 2022
- Digital Image Processing Multiple choice Questions unit wise 2021 AKTU
- How to Download and Install IDM for PC in 2022
- How to Download & Install Wondershare Filmora X in 2022
- Airlines Reservation System Java Project with Source Code
- All Unit MCQ’s of Data Compression AKTU Exam 2021
- HOW TO FIXED PROBLEM: Windows Update service missing (not listed) in