Ejemplo n.º 1
0
        public void OnPostDelete(
            PostDeleteEvent @event)
        {
            var properties = @event.ToPropertyEntry().ToList();

            Raise(@event, typeof(AfterDeletedEntityDomainEvent <>), @event.Entity, properties);
        }
Ejemplo n.º 2
0
        public async Task OnPostDeleteAsync(
            PostDeleteEvent @event,
            CancellationToken cancellationToken)
        {
            var properties = @event.ToPropertyEntry().ToList();

            await RaiseAsync(@event, typeof(AfterDeletedEntityDomainEvent <>), @event.Entity, properties);
        }