public async Task Handle(AchievementCompletedEvent notification, CancellationToken cancellationToken) { using (var connection = this._dbConnectionFactory.OpenConnection()) { var achievementCompletionRepository = new AchievementRepository(); await achievementCompletionRepository.CompletedAsync(connection, notification.AggregateId, notification.CompletedOn); } }