Пример #1
0
        public async Task CmdChangePassword()
        {
            IsButtonDisabled = true;
            StateHasChanged();

            Validate();


            if (LocalFunctions.HasError())
            {
                LocalFunctions.DisplayErrors();
            }
            else
            {
                TSUser tsUser = new TSUser()
                {
                    Email       = LocalData.CurrTSUser.Email,
                    Password    = NewPassword,
                    EmailedCode = EmailedCode,
                };



                await WebApi.CmdUserChangePassword(tsUser);
            }


            IsButtonDisabled = false;
        }