public async Task <Unit> Handle(CreateAuditEvents command, CancellationToken cancellationToken) { var auditEvents = AuditEvent.Create(command, _authentificationContext, _auditSerializer); await _dbContext.BulkInsertAsync(auditEvents); await _dbContext.SaveChangesAsync(); return(Unit.Value); }