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

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

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

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

@return bool
Updates the specified status .