Skip to content

Commit

Permalink
Add TODO Refactoring notes from previous merge
Browse files Browse the repository at this point in the history
  • Loading branch information
TheAxelander committed Dec 1, 2024
1 parent 1bb5aec commit 149d46d
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -314,6 +314,7 @@ public static TransactionViewModel CreateEmpty(IServiceManager serviceManager)
public static TransactionViewModel CreateFromTransaction(IServiceManager serviceManager,
IEnumerable<AccountViewModel> availableAccounts, IEnumerable<Bucket> availableBuckets, BankTransaction transaction)
{
//TODO Refactor availableAccounts to Account instead of AccountViewModel
return new TransactionViewModel(serviceManager, availableAccounts, availableBuckets, transaction);
}

Expand All @@ -328,6 +329,7 @@ public static TransactionViewModel CreateFromTransaction(IServiceManager service
public static async Task<TransactionViewModel> CreateFromTransactionAsync(IServiceManager serviceManager,
IEnumerable<AccountViewModel> availableAccounts, IEnumerable<Bucket> availableBuckets, BankTransaction transaction)
{
//TODO Refactor availableAccounts to Account instead of AccountViewModel
return await Task.Run(() => CreateFromTransaction(serviceManager, availableAccounts, availableBuckets, transaction));
}

Expand Down

0 comments on commit 149d46d

Please sign in to comment.