fix project names

This commit is contained in:
Oli Sturm
2026-04-21 23:13:26 +01:00
parent b193f64861
commit 81a164d4a7
23 changed files with 126 additions and 106 deletions
@@ -1,17 +0,0 @@
using CsharpFp1.Domain;
namespace CsharpFp1.Application;
public static class AccountApplicationService
{
public static void WithdrawMoney(IAccountRepository repository, Guid accountId, decimal amount)
{
var account =
repository.GetById(new AccountId(accountId))
?? throw new InvalidOperationException("Account not found.");
account.Withdraw(new Money(amount));
repository.Save(account);
}
}