CloseAccountCommand #2 implementation with ability to close a single account or an account hierarchie of balanced accounts.
Assuming, that new/active accounts are not allowed to be children to an inactive parent (see #46 )
Tests are separated by #region markers for better overview. A separate generator class for testdata was created to support tests on more complex structures.
Currently, the implementation respects the EF behavior of having null for empty list of Account.Children #47
CloseAccountCommand #2 implementation with ability to close a single account or an account hierarchie of balanced accounts. Assuming, that new/active accounts are not allowed to be children to an inactive parent (see #46 )
Tests are separated by #region markers for better overview. A separate generator class for testdata was created to support tests on more complex structures.
Currently, the implementation respects the EF behavior of having null for empty list of Account.Children #47