Skip to content

Commit

Permalink
fix: assign TransactionId from csv-model
Browse files Browse the repository at this point in the history
  • Loading branch information
amiralirahimii committed Aug 18, 2024
1 parent d53b3cb commit d9933b4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Application/Services/TransactionService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ public async Task AddTransactionsFromCsvAsync(string filePath)

var transactions = transactionCsvModels.Select(csvModel => new Transaction
{
TransactionId = csvModel.TransactionID,
SourceAccountId = csvModel.SourceAcount,
DestinationAccountId = csvModel.DestiantionAccount,
Amount = csvModel.Amount,
Expand Down

0 comments on commit d9933b4

Please sign in to comment.