public function update(WorkHttpRequest $request, $id)
    {
        $workRequest = $this->workRequest->findOrFail($id);

        return $this->dispatch(new Update($request, $workRequest));
    }
public function update(WorkHttpRequest $request, $id)
    {
        $workRequest = $this->workRequest->findOrFail($id);

        return $this->dispatch(new Update($request, $workRequest));
    }
public function update ( WorkHttpRequest $ request , $ id ) { $ workRequest = $ this -> workRequest -> findOrFail ( $ id ) ; return $ this -> dispatch ( new Update ( $ request , $ workRequest ) ) ; }
Updates the specified work request.

@param WorkHttpRequest $request
@param int|string      $id

@return bool
Updates the specified work request .