public function getAllPolicyVersion2() { // $items = Policy::all()->toArray(); // $policy = Policy::paginate(); // $totalItems = $policy->getTotal(); // $paginator = Paginator::make($items, $totalItems, $perPage); // return $paginator; //return Policy::paginate($per_page); $policy = Policy::whereNotNull('id')->orderBy('id', 'asc')->get(); return $policy; }