app/Http/Controllers/ListaAlunosController.php
/**
     * Display a listing of the resource.
     *
     * @return \Illuminate\Http\Response
     */
Display a listing of the resource.
@return \Illuminate\Http\Response
Display a listing of the resource . @return \ Illuminate \ Http \ Response
public function index()
    {
        $listaAlunos = $this->repository->paginate();
        return view('admin.pages.alunos.lista', ['lista' => $listaAlunos]);
    }
public function index ( ) { $ listaAlunos = $ this -> repository -> paginate ( ) ; return view ( 'admin.pages.alunos.lista' , [ 'lista' => $ listaAlunos ] ) ; }
Display a listing of the resource.
Display a listing of the resource .