public function postEdit(ModelEditRequest $request, $modelitemId)
    {
        if (!$this->modelAdmin->hasEditing()) {
            return $this->missingMethod();
        }

        $this->modelAdmin->edit($modelitemId);

        return redirect($this->modelAdmin->currentUrl())->with('notifications_below_header', [['type' => 'success', 'icon' => 'check-circle', 'title' => 'Success!', 'message' => 'The '.$this->modelAdmin->getTitle().' was successfully updated.', 'dismissable' => false]]);
    }
public function postEdit(ModelEditRequest $request, $modelitemId)
    {
        if (!$this->modelAdmin->hasEditing()) {
            return $this->missingMethod();
        }

        $this->modelAdmin->edit($modelitemId);

        return redirect($this->modelAdmin->currentUrl())->with('notifications_below_header', [['type' => 'success', 'icon' => 'check-circle', 'title' => 'Success!', 'message' => 'The '.$this->modelAdmin->getTitle().' was successfully updated.', 'dismissable' => false]]);
    }
public function postEdit ( ModelEditRequest $ request , $ modelitemId ) { if ( ! $ this -> modelAdmin -> hasEditing ( ) ) { return $ this -> missingMethod ( ) ; } $ this -> modelAdmin -> edit ( $ modelitemId ) ; return redirect ( $ this -> modelAdmin -> currentUrl ( ) ) -> with ( 'notifications_below_header' , [ [ 'type' => 'success' , 'icon' => 'check-circle' , 'title' => 'Success!' , 'message' => 'The ' . $ this -> modelAdmin -> getTitle ( ) . ' was successfully updated.' , 'dismissable' => false ] ] ) ; }
Receive Model Entry Update Post Data, validate it and return user.

@param int $modelitemId

@return \Illuminate\Http\RedirectResponse
Receive Model Entry Update Post Data validate it and return user .