Skip to content

Transaction boundary issue in InternalController.Create() #230

Description

@ayende

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions