app/Http/Controllers/ProductController.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()
    {
        $type = ProductType::all();
        return view('admin.product.create', ['type'=> $type]);
    }
public function create ( ) { $ type = ProductType :: all ( ) ; return view ( 'admin.product.create' , [ 'type' => $ type ] ) ; }
Show the form for creating a new resource.
Show the form for creating a new resource .
//