Mar 23, 2022
db.Orders.Add(order);
db.OutboxEntity.Add(event);
await db.SaveChangesAsync();
add Savechanges method at the end and guaranteed that the two added or nothing added
is more better than BeginTransaction and Commit and redundant SaveChanges.