Assumptions:
- Transaction that already exists in database from the import file will have record updated instead of import unsuccessful.
- Define the file format, CSV or XML is required.
- No pagination for Get API.
- CSV Amount should not have ','.
- CSV file should not have "" as delimiter.
Solutions:
- Transaction.Api - RESTful Api
- Transaction.Domain - Domain layer. (Business logic)
- Transaction.Infrastructure - Infrastructure layer. Input/output implementation.
- Transaction.Domain.Test - Unit testing for domain layer.