app/Http/Controllers/Admin/BusClassController.php
/**
     * Update the specified resource in storage.
     *
     * @param  \Illuminate\Http\Request  $request
     * @param  \App\BusClass  $busClass
     * @return \Illuminate\Http\Response
     */
Update the specified resource in storage.
Update the specified resource in storage .
public function update(BusClassRequest $request, BusClass $busClass)
    {
        $busClass->update($request->validated());
        return redirect()->route('admin.buses.index');
    }
public function update ( BusClassRequest $ request , BusClass $ busClass ) { $ busClass -> update ( $ request -> validated ( ) ) ; return redirect ( ) -> route ( 'admin.buses.index' ) ; }
Update the specified resource in storage.
Update the specified resource in storage .
//