/**
  * Show the form for editing the specified resource.
  *
  * @param  int  $id
  * @return \Illuminate\Http\Response
  */
 public function edit($id)
 {
     $data['user'] = User::where(['id' => $id])->with(['role'])->first();
     $data['roles'] = Role::pluck('name', 'id');
     return view('admin.user.edit', $data);
 }