using CAPI.Custom.Services.Events; namespace CAPI.Custom.Services.EventHandlers { public interface IHandler where T : IEvent { void Handle(T domainEvent); } }