public void ProcessEvent(IEventHandlerContext <Registered> context) { using (_databaseContextFactory.Create(_configuration.ProviderName, _configuration.ConnectionString)) { _query.Register(context.ProjectionEvent, context.DomainEvent); } }
public void ProcessEvent(IEventHandlerContext <Registered> context) { _query.Register(context.ProjectionEvent, context.DomainEvent); }