fix namespace

This commit is contained in:
Oli Sturm
2026-04-22 15:07:46 +01:00
parent fd03c45942
commit f99a6e9fc7
6 changed files with 10 additions and 10 deletions
@@ -1,6 +1,6 @@
using CsharpFp1.Domain; using CsharpOopSimplified2.Domain;
namespace CsharpFp1.Application; namespace CsharpOopSimplified2.Application;
public static class AccountApplicationService public static class AccountApplicationService
{ {
+1 -1
View File
@@ -1,4 +1,4 @@
namespace CsharpFp1.Domain; namespace CsharpOopSimplified2.Domain;
/// Domain entity / aggregate root representing a bank account /// Domain entity / aggregate root representing a bank account
public sealed class Account public sealed class Account
@@ -1,4 +1,4 @@
namespace CsharpFp1.Domain; namespace CsharpOopSimplified2.Domain;
/// Repository abstraction used to load and save accounts /// Repository abstraction used to load and save accounts
public interface IAccountRepository public interface IAccountRepository
@@ -1,4 +1,4 @@
namespace CsharpFp1.Domain; namespace CsharpOopSimplified2.Domain;
/// Custom domain exception thrown when a withdrawal would cause the balance to go below zero /// Custom domain exception thrown when a withdrawal would cause the balance to go below zero
public sealed class InsufficientBalanceException : InvalidOperationException public sealed class InsufficientBalanceException : InvalidOperationException
@@ -1,6 +1,6 @@
using CsharpFp1.Domain; using CsharpOopSimplified2.Domain;
namespace CsharpFp1.Infrastructure; namespace CsharpOopSimplified2.Infrastructure;
/// Simple in-memory repository for demonstration /// Simple in-memory repository for demonstration
public class InMemoryAccountRepository : IAccountRepository public class InMemoryAccountRepository : IAccountRepository
+3 -3
View File
@@ -1,6 +1,6 @@
using CsharpFp1.Application; using CsharpOopSimplified2.Application;
using CsharpFp1.Domain; using CsharpOopSimplified2.Domain;
using CsharpFp1.Infrastructure; using CsharpOopSimplified2.Infrastructure;
Console.WriteLine("[csharp-oop-simplified2] Starting withdraw money demo..."); Console.WriteLine("[csharp-oop-simplified2] Starting withdraw money demo...");