open WarningDelete Modal

This commit is contained in:
Natlinux81
2022-08-21 17:40:36 +02:00
parent 145b104226
commit 63e24deccc
7 changed files with 127 additions and 3 deletions

View File

@@ -18,14 +18,16 @@ namespace Apollon.WPF.ViewModels
public string Location => Tournament.Location;
public ICommand EditCommand { get; }
public ICommand DeleteCommand { get; }
//public ICommand DeleteCommand { get; }
public ICommand WarningDeleteCommand { get; }
public OverviewListingItemViewModel(Tournament tournament, TournamentsStore tournamentStore, ModalNavigationStore modalNavigationStore)
{
Tournament = tournament;
EditCommand = new OpenEditTournamentCommand(this, tournamentStore, modalNavigationStore);
DeleteCommand = new DeleteTournamentCommand(this, tournamentStore);
//DeleteCommand = new DeleteTournamentCommand(this, tournamentStore);
WarningDeleteCommand = new OpenWarningDeleteCommand(modalNavigationStore);
}
public void Update(Tournament tournament)

View File

@@ -0,0 +1,16 @@
using Apollon.WPF.Stores;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Apollon.WPF.ViewModels
{
public class WarningDeleteViewModel : ViewModelBase
{
public WarningDeleteViewModel(ModalNavigationStore modalNavigationStore)
{
}
}
}