fix namespace
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
using CsharpFp1.Domain;
|
||||
using CsharpOopSimplified2.Domain;
|
||||
|
||||
namespace CsharpFp1.Application;
|
||||
namespace CsharpOopSimplified2.Application;
|
||||
|
||||
public static class AccountApplicationService
|
||||
{
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
namespace CsharpFp1.Domain;
|
||||
namespace CsharpOopSimplified2.Domain;
|
||||
|
||||
/// Domain entity / aggregate root representing a bank account
|
||||
public sealed class Account
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
namespace CsharpFp1.Domain;
|
||||
namespace CsharpOopSimplified2.Domain;
|
||||
|
||||
/// Repository abstraction used to load and save accounts
|
||||
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
|
||||
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
|
||||
public class InMemoryAccountRepository : IAccountRepository
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
using CsharpFp1.Application;
|
||||
using CsharpFp1.Domain;
|
||||
using CsharpFp1.Infrastructure;
|
||||
using CsharpOopSimplified2.Application;
|
||||
using CsharpOopSimplified2.Domain;
|
||||
using CsharpOopSimplified2.Infrastructure;
|
||||
|
||||
Console.WriteLine("[csharp-oop-simplified2] Starting withdraw money demo...");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user