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

@@ -0,0 +1,26 @@
using Apollon.WPF.Stores;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Apollon.WPF.Commands
{
public class EditTournamentCommand : AsyncCommandBase
{
private readonly ModalNavigationStore _modalNavigationStore;
public EditTournamentCommand(ModalNavigationStore modalNavigationStore)
{
_modalNavigationStore = modalNavigationStore;
}
public override async Task ExecuteAsync(object parameter)
{
// Edit Tournament to Database
_modalNavigationStore.Close();
}
}
}