예제 #1
0
 private void GoToAccountsOrNewUser()
 {
     if (AccountsService.Any())
     {
         GoToAccountsCommand.Execute(null);
     }
     else
     {
         GoToNewUserCommand.Execute(null);
     }
 }
예제 #2
0
 private void GoToAccountsOrNewUser()
 {
     if (_accountsService.Any())
     {
         GoToAccountsCommand.ExecuteIfCan();
     }
     else
     {
         GoToNewUserCommand.ExecuteIfCan();
     }
 }
예제 #3
0
 private void GoToAccountsOrNewUser()
 {
     if (_accountsService.Any())
     {
         NavigateTo(this.CreateViewModel <AccountsViewModel>());
     }
     else
     {
         NavigateTo(this.CreateViewModel <NewAccountViewModel>());
     }
 }