Closed amirhessampourhossein closed 7 months ago
Hello @amantinband Thank you for responding to my issue (#3) ❤
I have noticed the following piece of code in your "SaveChangesAsync" method 👇
var domainEvents = ChangeTracker.Entries<Entity>() .Select(entry => entry.Entity.PopDomainEvents()) .SelectMany(x => x) .ToList();
couldn't we use the following piece of code instead ? 👇
var domainEvents = ChangeTracker.Entries<Entity>() .SelectMany(entry => entry.Entity.PopDomainEvents()) .ToList();
Yep that's better. Changed 🤙
Hello @amantinband Thank you for responding to my issue (#3) ❤
I have noticed the following piece of code in your "SaveChangesAsync" method 👇
couldn't we use the following piece of code instead ? 👇