submit Add and Edit Command

This commit is contained in:
Natlinux81
2022-08-16 00:50:33 +02:00
parent cf8e7356e2
commit a72edbbafd
8 changed files with 96 additions and 21 deletions

View File

@@ -20,13 +20,13 @@ namespace Apollon.WPF.ViewModels
public OverviewViewModel(SelectedTournamentStore selectedTournamentStore, ModalNavigationStore modalNavigationStore, Tournament tournament)
public OverviewViewModel(SelectedTournamentStore selectedTournamentStore, ModalNavigationStore modalNavigationStore)
{
OverviewListingViewModel = new OverviewListingViewModel(selectedTournamentStore, modalNavigationStore);
OverviewDetailsViewModel = new OverviewDetailsViewModel(selectedTournamentStore);
AddTournamentCommand = new OpenAddTournamentCommand(modalNavigationStore);
EditTournamentCommand = new OpenEditTournamentCommand(modalNavigationStore, tournament);
EditTournamentCommand = new OpenEditTournamentCommand(modalNavigationStore);
}
}
}