app/Http/Controllers/Admin/UserController.php
/**
     * Remove the specified resource from storage.
     *
     * @param  \App\User  $user
     * @return \Illuminate\Http\Response
     */
Remove the specified resource from storage.
Remove the specified resource from storage .
public function destroy(User $user,$id)
    {
        $user=User::find($id)->delete();
        return redirect('getusers');
    }
public function destroy ( User $ user , $ id ) { $ user = User :: find ( $ id ) -> delete ( ) ; return redirect ( 'getusers' ) ; }
Remove the specified resource from storage.
Remove the specified resource from storage .