clean up AddCommand EditCommand
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user