app/Http/Controllers/CommoCategoryController.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()
    {
        $categorygroups = CategoryGroup::get();
        $categories = CommunicationCategory::get();
        return view('references.c4s.commocategory.create',compact('categorygroups','categories'));
    }
public function create ( ) { $ categorygroups = CategoryGroup :: get ( ) ; $ categories = CommunicationCategory :: get ( ) ; return view ( 'references.c4s.commocategory.create' , compact ( 'categorygroups' , 'categories' ) ) ; }
Show the form for creating a new resource.
Show the form for creating a new resource .