app/Http/Controllers/Admin/incomecategoryController.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()
    {
        $incomecategory = Incomecategory::all();
        return view('Admin.Incomecategory.view',compact('incomecategory'));
    }
public function index ( ) { $ incomecategory = Incomecategory :: all ( ) ; return view ( 'Admin.Incomecategory.view' , compact ( 'incomecategory' ) ) ; }
Display a listing of the resource.
Display a listing of the resource .