app/Http/Controllers/Blog/Admin/CategoryController.php
/**
     * Show the form for creating a new resource.
     *
     * @return \Illuminate\Http\Response
     */
Show the form for creating a new resource.
@return \Illuminate\Http\Response
Show the form for creating a new resource . @return \ Illuminate \ Http \ Response
public function create()
    {
        $item = new BlogCategory();
        $categoryList = $this->blogCategoryRepository->getForComboBox();
        return view('blog.admin.categories.edit',
            compact('item', 'categoryList'));
    }
public function create ( ) { $ item = new BlogCategory ( ) ; $ categoryList = $ this -> blogCategoryRepository -> getForComboBox ( ) ; return view ( 'blog.admin.categories.edit' , compact ( 'item' , 'categoryList' ) ) ; }
Show the form for creating a new resource.
Show the form for creating a new resource .
//        $categoryList = BlogCategory::all();