private async Task SignUpCommandExecute() { if (await _firebaseService.SignUp(Username, Password)) { await NavigationService.NavigateToAsync <MainViewModel>(); } else { _userDialogService.Toast("El Usuario introducido no es válido"); } }
private async Task SignUpCommandExecute() { if (await _firebaseService.SignUp(Username, Password)) { if (_firebaseDBService.CreateUser()) { await NavigationService.NavigateToAsync <MasterDetailViewModel>(); } else { _userDialogService.Toast("The entered user is not valid"); } } else { _userDialogService.Toast("The entered user is not valid"); } }