Ejemplo n.º 1
0
 /**
  * Display a listing of the resource.
  *
  * @return \Illuminate\Http\Response
  */
 public function getIndex()
 {
     $users = $this->userRepository->lists($this->pageSize);
     $roles = $this->roleRepository->listForArr();
     return view('weyi.user.index', compact('users', 'roles'));
 }