using Volo.Abp.Domain.Entities.Auditing; using Volo.Abp.Domain.Entities.Events; using Volo.Abp.EventBus; using Volo.Abp.MultiTenancy; namespace JiShe.CollectBusEPO; public class EntityHandler : ILocalEventHandler>>, ITransientDependency { public IAbpLazyServiceProvider LazyServiceProvider { get; set; } protected ICurrentTenant CurrentTenant => LazyServiceProvider.LazyGetRequiredService(); public Task HandleEventAsync(EntityCreatedEventData> eventData) { // TO DO SOMETHING return Task.CompletedTask; } }