app/Http/Controllers/Blog/Admin/CategoryController.php
/**
     * Display a listing of the resource.
     *
     * @return Response
     */
Display a listing of the resource.
@return Response
Display a listing of the resource . @return Response
public function index()
    {
        $pagination = $this->blogCategoryRepository->getAllWithPaginate();
        return view('blog.admin.categories.index', compact('pagination'));
    }
public function index ( ) { $ pagination = $ this -> blogCategoryRepository -> getAllWithPaginate ( ) ; return view ( 'blog.admin.categories.index' , compact ( 'pagination' ) ) ; }
Display a listing of the resource.
Display a listing of the resource .
//$pagination = BlogCategory::paginate(5);