<?php

use App\Http\Controllers\VehicleDocumentValidity\VehicleDocumentValidityController;
use Illuminate\Support\Facades\Route;
   /******************************* Vehicle types*****************************/




/******************************* Main Route*****************************/
Route::resource('/vehicle-document-validity', VehicleDocumentValidityController::class);

/*******************************changestatus*****************************/
Route::post('vehicle-document-validity/changeStatus', [VehicleDocumentValidityController::class, 'changeStatus'])->name('vehicle-document-validity-changestatus');

Route::get('vehicles-validity/{id}', [VehicleDocumentValidityController::class, 'index'])->name('vehicles-validity.index');
