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