Acoustep\EntrustGui\Http\Controllers\UsersController::store PHP Method

store() public method

POST /roles
public store ( ) : Response
return Response
    public function store()
    {
        try {
            $user = $this->gateway->create($this->request);
        } catch (ValidationException $e) {
            return redirect(route('entrust-gui::users.create'))->withErrors($e->getErrors())->withInput();
        }
        return redirect(route('entrust-gui::users.index'))->withSuccess(trans('entrust-gui::users.created'));
    }