app/Http/Controllers/Admin/TerminalController.php
/**
     * Remove the specified resource from storage.
     *
     * @param  \App\Terminal  $terminal
     * @return \Illuminate\Http\Response
     */
Remove the specified resource from storage.
Remove the specified resource from storage .
public function destroy(Terminal $terminal)
    {
        $terminal->delete();
        return redirect()->route('admin.terminals.index')
                        ->with('success','Terminal deleted successfully');
    }
public function destroy ( Terminal $ terminal ) { $ terminal -> delete ( ) ; return redirect ( ) -> route ( 'admin.terminals.index' ) -> with ( 'success' , 'Terminal deleted successfully' ) ; }
Remove the specified resource from storage.
Remove the specified resource from storage .
//