Ejemplo n.º 1
0
 public AccountCommandHandler(BankAppDataContext context, ISystemClock systemClock)
 {
     this.context = context;
     this.accountQueriesHandler      = new AccountQueriesHandler(context);
     this.transactionCommandsHandler = new TransactionCommandsHandler(context);
     this.systemClock = systemClock;
 }
Ejemplo n.º 2
0
 public AccountCommandHandler()
 {
     this.context = new BankAppDataContext();
     this.accountQueriesHandler      = new AccountQueriesHandler(context);
     this.transactionCommandsHandler = new TransactionCommandsHandler(context);
     this.systemClock = new SystemClock();
 }