clean up AddCommand EditCommand

This commit is contained in:
Natlinux81
2022-08-15 15:17:05 +02:00
parent a694685181
commit 7c5551d619
9 changed files with 44 additions and 15 deletions

View File

@@ -8,7 +8,7 @@ using System.Threading.Tasks;
namespace Apollon.WPF.Commands
{
internal class OpenAddTournamentCommand : CommandBase
public class OpenAddTournamentCommand : CommandBase
{
private readonly ModalNavigationStore _modalNavigationStore;
@@ -19,8 +19,8 @@ namespace Apollon.WPF.Commands
public override void Execute(object parameter)
{
AddTournametViewModel addTournametViewModel = new AddTournametViewModel(_modalNavigationStore);
_modalNavigationStore.CurrentViewModel = addTournametViewModel;
AddTournamentViewModel addTournamentViewModel = new AddTournamentViewModel(_modalNavigationStore);
_modalNavigationStore.CurrentViewModel = addTournamentViewModel;
}
}
}