示例#1
0
        private async Task AuthenticateCommandExecuteAsync()
        {
            AccountResponse accountResponse = await _authService.LoginAsync(Username, Password);

            if (accountResponse == null)
            {
                return;
            }

            if (!accountResponse.Success)
            {
                UserInteractionService.ShowToast("Casa caiu!");
            }
            else
            {
                UserInteractionService.ShowToast("Autenticado...");
            }
        }