Beispiel #1
0
        protected async Task RegisterUser()
        {
            var result = await AuthService.Register(RegisterModel);

            if (result.IsSuccessful)
            {
                GoToLoginAction.Invoke();
            }
            else
            {
                Validator.DisplayErrors(result.Errors);
            }
        }