app/Http/Controllers/FirmController.php
/**
     * Show the form for editing the specified resource.
     *
     * @param  \App\Models\Firm  $firm
     * @return \Illuminate\Http\Response
     */
Show the form for editing the specified resource.
Show the form for editing the specified resource .
public function edit($firm)
    {
        $data = Firm::find($firm);
        return response()->json($data, 200);
    }
public function edit ( $ firm ) { $ data = Firm :: find ( $ firm ) ; return response ( ) -> json ( $ data , 200 ) ; }
Show the form for editing the specified resource.
Show the form for editing the specified resource .