Skip to content

Open-source eCommerce platform for C# and ASP.NET Core 10 with MongoDB. Build multi-store shops and multi-vendor marketplaces with B2B/B2C, REST API, plugins, Vue 3 and Docker.

405 B
Raw Blame
using Grand.Domain;
using Grand.Mediator;

namespace Grand.Infrastructure.Events;

/// <summary>
///     A container for passing entities that have been deleted.
/// </summary>
/// <typeparam name="T"></typeparam>
public class EntityDeleted<T> : INotification where T : ParentEntity

{
    public EntityDeleted(T entity)
    {
        Entity = entity;
    }

    public T Entity { get; private set; }
}