app/Http/Controllers/Index/ClientController.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()
    {
        $res = User::get();
        $data = Client::get();
        return view('index.client.create',['res'=>$res,'data'=>$data]);
    }
public function create ( ) { $ res = User :: get ( ) ; $ data = Client :: get ( ) ; return view ( 'index.client.create' , [ 'res' => $ res , 'data' => $ data ] ) ; }
Show the form for creating a new resource.
Show the form for creating a new resource .
// dump($res); // dump($data);die;