private void GoToAccountsOrNewUser() { if (AccountsService.Any()) { GoToAccountsCommand.Execute(null); } else { GoToNewUserCommand.Execute(null); } }
private void GoToAccountsOrNewUser() { if (_accountsService.Any()) { GoToAccountsCommand.ExecuteIfCan(); } else { GoToNewUserCommand.ExecuteIfCan(); } }
private void GoToAccountsOrNewUser() { if (_accountsService.Any()) { NavigateTo(this.CreateViewModel <AccountsViewModel>()); } else { NavigateTo(this.CreateViewModel <NewAccountViewModel>()); } }