protected override async Task ExecuteAsync(CancellationToken stoppingToken) { await IndexCreation.CreateIndexesAsync(typeof(SetupDocumentStore).Assembly, _store, null, _store.Database, stoppingToken); _startupTaskContext.MarkTaskAsComplete(); }
protected override async Task ExecuteAsync(CancellationToken stoppingToken) { await _store.CreateUpdateIndexesAsync(); _startupTaskContext.MarkTaskAsComplete(); }