public function store(CreateUserRequest $request)
    {
        $input = $request->all();

        $user = $this->userRepository->create($input);

        Flash::success(trans('l5starter::messages.create.success'));

        return redirect(route('admin.users.index'));
    }
public function store(CreateUserRequest $request)
    {
        $input = $request->all();

        $user = $this->userRepository->create($input);

        Flash::success(trans('l5starter::messages.create.success'));

        return redirect(route('admin.users.index'));
    }
public function store ( CreateUserRequest $ request ) { $ input = $ request -> all ( ) ; $ user = $ this -> userRepository -> create ( $ input ) ; Flash :: success ( trans ( 'l5starter::messages.create.success' ) ) ; return redirect ( route ( 'admin.users.index' ) ) ; }
Store a newly created User in storage.

@param CreateUserRequest $request

@return Response
Store a newly created User in storage .