refill not works
This commit is contained in:
@@ -16,7 +16,7 @@ namespace Apollon.WPF.ViewModels
|
||||
public OverviewDetailsViewModel OverviewDetailsViewModel{ get; }
|
||||
|
||||
public ICommand AddTournamentCommand { get; }
|
||||
public ICommand EditTournamentCommand { get; }
|
||||
public ICommand EditTournamentCommand { get; set ; }
|
||||
|
||||
|
||||
|
||||
@@ -26,7 +26,15 @@ namespace Apollon.WPF.ViewModels
|
||||
OverviewDetailsViewModel = new OverviewDetailsViewModel(selectedTournamentStore);
|
||||
|
||||
AddTournamentCommand = new OpenAddTournamentCommand(tournamentStore, modalNavigationStore);
|
||||
//EditTournamentCommand = new OpenEditTournamentCommand(modalNavigationStore);
|
||||
EditTournamentCommand = new OpenEditTournamentCommand(modalNavigationStore);
|
||||
|
||||
AddTournament(new Tournament("DSB", "Deutschemeisterschaft3", "Halle", DateTime.Now, DateTime.Today, "Bruchsal", 6), modalNavigationStore);
|
||||
}
|
||||
|
||||
private void AddTournament(Tournament tournament, ModalNavigationStore modalNavigationStore)
|
||||
{
|
||||
ICommand editTournamentCommand = new EditTournamentCommand(modalNavigationStore);
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user