app/Http/Controllers/ProvidersController.php
/**
     * Show the form for editing the specified resource.
     *
     * @param  \PurchaseControl\Providers  $providers
     * @return \Illuminate\Http\Response
     */
Show the form for editing the specified resource.
Show the form for editing the specified resource .
public function edit($id)
    {
        $provider = Providers::where('id', $id)->first();
        return view('admin.providers.edit',[
            'provider' => $provider
        ]);
    }
public function edit ( $ id ) { $ provider = Providers :: where ( 'id' , $ id ) -> first ( ) ; return view ( 'admin.providers.edit' , [ 'provider' => $ provider ] ) ; }
Show the form for editing the specified resource.
Show the form for editing the specified resource .