namespace DatabaseEditor.Messages
{
    public class ConfirmEditMessage<T> : ConfirmEditMessage
    {
        public new T Item { get; }

        public ConfirmEditMessage(T item)
            : base(item)
        {
            Item = item;
        }
    }

    public class ConfirmEditMessage
    {
        public object Item { get; }

        public ConfirmEditMessage(object item)
        {
            Item = item;
        }
    }
}