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.
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.