public function postCreate(ModelCreateRequest $request)
    {
        if (!$this->modelAdmin->hasCreating()) {
            return $this->missingMethod();
        }

        $this->modelAdmin->create();

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

        $this->modelAdmin->create();

        return redirect($this->modelAdmin->currentUrl())->with('notifications_below_header', [['type' => 'success', 'icon' => 'check-circle', 'title' => 'Success!', 'message' => 'The '.$this->modelAdmin->getTitle().' was successfully created.', 'dismissable' => false]]);
    }
public function postCreate ( ModelCreateRequest $ request ) { if ( ! $ this -> modelAdmin -> hasCreating ( ) ) { return $ this -> missingMethod ( ) ; } $ this -> modelAdmin -> create ( ) ; return redirect ( $ this -> modelAdmin -> currentUrl ( ) ) -> with ( 'notifications_below_header' , [ [ 'type' => 'success' , 'icon' => 'check-circle' , 'title' => 'Success!' , 'message' => 'The ' . $ this -> modelAdmin -> getTitle ( ) . ' was successfully created.' , 'dismissable' => false ] ] ) ; }
Receive new Model Entry Post Data, validate it and return user.

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