AdminModifyUserInfo() private méthode

private AdminModifyUserInfo ( string databaseName, string userName, string fullName, string email ) : bool
databaseName string
userName string
fullName string
email string
Résultat bool
        private void PerformCurrentAction()
        {
            switch (this.currAction)
            {
            case Action.Main:
                this.currAction = Action.Main;
                this.DoConnect();
                Event.current.Use();
                return;

            case Action.CreateUser:
                AssetServer.AdminCreateUser(this.nUserName, this.nFullName, this.nEmail, this.nPassword1);
                this.currAction = Action.Main;
                if (this.lv.row > -1)
                {
                    this.DoGetUsers();
                }
                Event.current.Use();
                return;

            case Action.SetPassword:
                AssetServer.AdminChangePassword(this.users[this.lv2.row].userName, this.nPassword1);
                this.currAction = Action.Main;
                Event.current.Use();
                return;

            case Action.CreateProject:
                if (AssetServer.AdminCreateDB(this.nProjectName, this.nTemplateProjectName) != 0)
                {
                    this.DoRefreshDatabases();
                    for (int i = 0; i < this.databases.Length; i++)
                    {
                        if (this.databases[i].name == this.nProjectName)
                        {
                            this.lv.row = i;
                            this.DoGetUsers();
                            break;
                        }
                    }
                }
                break;

            case Action.ModifyUser:
                AssetServer.AdminModifyUserInfo(this.databases[this.lv.row].dbName, this.users[this.lv2.row].userName, this.nFullName, this.nEmail);
                this.currAction = Action.Main;
                if (this.lv.row > -1)
                {
                    this.DoGetUsers();
                }
                Event.current.Use();
                return;

            default:
                return;
            }
            this.currAction = Action.Main;
            Event.current.Use();
        }