25 lines
758 B
C#
25 lines
758 B
C#
using Apollon.WPF.Commands;
|
|
using Apollon.WPF.Stores;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using System.Windows.Input;
|
|
|
|
namespace Apollon.WPF.ViewModels
|
|
{
|
|
public class AddTournamentViewModel : ViewModelBase
|
|
{
|
|
public AddEditDetailsViewModel AddEditDetailsViewModel { get; }
|
|
|
|
public AddTournamentViewModel(ModalNavigationStore modalNavigationStore)
|
|
{
|
|
ICommand submitCommand = new AddTournamentCommand(modalNavigationStore);
|
|
ICommand cancelCommand = new CloseModalCommand(modalNavigationStore);
|
|
AddEditDetailsViewModel = new AddEditDetailsViewModel(submitCommand, cancelCommand);
|
|
}
|
|
|
|
}
|
|
}
|