25 lines
585 B
C#
25 lines
585 B
C#
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 CloseModalCommand : CommandBase
|
|
{
|
|
private readonly ModalNavigationStore _modalNavigationStore;
|
|
|
|
public CloseModalCommand(ModalNavigationStore modalNavigationStore)
|
|
{
|
|
_modalNavigationStore = modalNavigationStore;
|
|
}
|
|
|
|
public override void Execute(object parameter)
|
|
{
|
|
_modalNavigationStore.Close();
|
|
}
|
|
}
|
|
}
|