protected async Task RegisterUser() { var result = await AuthService.Register(RegisterModel); if (result.IsSuccessful) { GoToLoginAction.Invoke(); } else { Validator.DisplayErrors(result.Errors); } }
protected async Task RegisterUser() { var result = await AuthService.Register(RegisterModel); if (result.IsSuccessful) { GoToLoginAction.Invoke(); } else { Validator.DisplayErrors(result.Errors); } }