public AccountCommandHandler(BankAppDataContext context, ISystemClock systemClock) { this.context = context; this.accountQueriesHandler = new AccountQueriesHandler(context); this.transactionCommandsHandler = new TransactionCommandsHandler(context); this.systemClock = systemClock; }
public AccountCommandHandler() { this.context = new BankAppDataContext(); this.accountQueriesHandler = new AccountQueriesHandler(context); this.transactionCommandsHandler = new TransactionCommandsHandler(context); this.systemClock = new SystemClock(); }