banking-kata-dotnet
banking-kata-dotnet copied to clipboard
Adapter - Persistence - MongoDB
See the classes done with Entity Framework:
- Source: https://github.com/valentinacupac/banking-kata-dotnet/blob/main/src/Optivem.Kata.Banking.Infrastructure/BankAccountRepository.cs
- Test: https://github.com/valentinacupac/banking-kata-dotnet/blob/main/test/Optivem.Kata.Banking.Infrastructure.Test/BankAccountRepositoryTest.cs
Do the same thing for MongoDB, just add MongoDb prefix, e.g. additional files:
- MongoDbBankAccountRepository
- MongoDbBankAccountRepositoryTest