app/Http/Controllers/Admin/vendorController.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()
    {
        $vendor= Vendor::all();
        $city = $this->city();
        $district = $this->district();
        return view('Admin.Vendors.add',compact('vendor','city','district'));
    }
public function create ( ) { $ vendor = Vendor :: all ( ) ; $ city = $ this -> city ( ) ; $ district = $ this -> district ( ) ; return view ( 'Admin.Vendors.add' , compact ( 'vendor' , 'city' , 'district' ) ) ; }
Show the form for creating a new resource.
Show the form for creating a new resource .