app/Http/Controllers/Employee/EmployeeController.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()
    {
        $employees = Employee::paginate(10);
        return view('employees.index', compact('employees'));
    }
public function index ( ) { $ employees = Employee :: paginate ( 10 ) ; return view ( 'employees.index' , compact ( 'employees' ) ) ; }
Display a listing of the resource.
Display a listing of the resource .
//        dd($employees);