You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You have two calls to CreateMoneyTransferAsync(), one to withdraw the money and the other to deposit it.
However, they are done as two separate database transactions, which means that you have the option of partial transaction.
The text was updated successfully, but these errors were encountered:
Hello, @ayende.
After reviewing what you said, I've came to the conclusion that you're totally right, unfortunately we don't have time to fix this issue at the moment. Feel free to open a PR if you'd like to help us :)
I actually run into that when using the system to demo Entity Framework Profiler. I used that to showcase how I can find those sort of issues. Thanks for providing the code, it made for a great demo for real world system.
See here:
https://github.com/banksystembg/BankSystem/blob/master/src/Web/BankSystem.Web/Areas/MoneyTransfers/Controllers/InternalController.cs#L97-L127
You have two calls to
CreateMoneyTransferAsync()
, one to withdraw the money and the other to deposit it.However, they are done as two separate database transactions, which means that you have the option of partial transaction.
The text was updated successfully, but these errors were encountered: