public function edit($id)
    {
        $workRequest = $this->workRequest->findOrFail($id);

        $form = $this->presenter->form($workRequest);

        return view('work-requests.edit', compact('form'));
    }
public function edit($id)
    {
        $workRequest = $this->workRequest->findOrFail($id);

        $form = $this->presenter->form($workRequest);

        return view('work-requests.edit', compact('form'));
    }
public function edit ( $ id ) { $ workRequest = $ this -> workRequest -> findOrFail ( $ id ) ; $ form = $ this -> presenter -> form ( $ workRequest ) ; return view ( 'work-requests.edit' , compact ( 'form' ) ) ; }
Displays the form for editing the specified work request.

@param int|string $id

@return \Illuminate\View\View
Displays the form for editing the specified work request .