app/Http/Controllers/Main_Controller/CompanyProfileController.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()
    {
        $company = CompanyProfile::orderBy('id','DESC')->paginate(15);
        return view('Company.Company_profile',compact('company'));
    }
public function index ( ) { $ company = CompanyProfile :: orderBy ( 'id' , 'DESC' ) -> paginate ( 15 ) ; return view ( 'Company.Company_profile' , compact ( 'company' ) ) ; }
Display a listing of the resource.
Display a listing of the resource .