Open/Close AddTournamentModal

This commit is contained in:
Natlinux81
2022-08-14 03:55:20 +02:00
parent ab742103de
commit 61f06a6b5d
12 changed files with 116 additions and 13 deletions

View File

@@ -95,8 +95,15 @@ namespace Apollon.WPF.ViewModels
}
public bool CanSubmit => !string.IsNullOrEmpty(Tournamentname);
public ICommand SubmitCommand { get; }
public ICommand CancelCommand { get; }
public AddEditDetailsViewModel(ICommand submitCommand, ICommand cancelCommand)
{
SubmitCommand = submitCommand;
CancelCommand = cancelCommand;
}
}