fix names

This commit is contained in:
Oli Sturm
2026-04-23 18:45:47 +01:00
parent 7a6e565a49
commit af65d696a6
5 changed files with 5 additions and 5 deletions
@@ -12,7 +12,7 @@ public delegate void SaveAccount(Account accunt);
// we can create a named container
// public sealed record AccountPersistence(LoadAccount Load, SaveAccount Save);
public static class InMemoryAccount
public static class InMemoryAccountRepository
{
public static (LoadAccount, SaveAccount) Create()
{
+1 -1
View File
@@ -4,7 +4,7 @@ using CsharpFp1.Infrastructure;
Console.WriteLine("[csharp-fp1] Starting withdraw money demo...");
var (loadAccount, saveAccount) = InMemoryAccount.Create();
var (loadAccount, saveAccount) = InMemoryAccountRepository.Create();
var withdrawMoney = AccountApplication.CreateWithdrawMoney(loadAccount, saveAccount);
var accountId = Guid.NewGuid();