open WarningDelete Modal
This commit is contained in:
@@ -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)
|
||||
|
||||
16
Apollon.WPF/ViewModels/WarningDeleteViewModel.cs
Normal file
16
Apollon.WPF/ViewModels/WarningDeleteViewModel.cs
Normal 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)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user