public UserController(IAccountsContext context, IAccountsRepository<User> userRepository)
 {
     _context = context;
     _userRepository = userRepository;
 }
 public LogActionCommandHandler(IAccountsContext context)
 {
     _table = new AccountActionsTable(context);
 }
Exemple #3
0
 public GetAccountsQueryHandler(IAccountsContext context)
 {
     _table = new AccountsTable(context);
 }
Exemple #4
0
 public CloseAccountCommandHandler(IAccountsContext context)
 {
     _table = new AccountsTable(context);
 }
Exemple #5
0
 public RefillCommandHandler(IAccountsContext context)
 {
     _table = new AccountsTable(context);
 }
 public AccountsTable(IAccountsContext context)
 {
     _context = context ?? throw new ArgumentNullException(nameof(_context));
 }
 public UpdateTransactionCommandhandler(IAccountsContext context)
 {
     _table = new TransactionsTable(context);
 }
 public EditAccountCommandHandler(IAccountsContext context)
 {
     _accountsTable = new AccountsTable(context);
 }
 public CreateAccountCommandHandler(IAccountsContext context, IOptions <AccountOptions> accountOptions)
 {
     _table          = new AccountsTable(context);
     _accountOptions = accountOptions.Value ?? throw new ArgumentNullException(nameof(accountOptions));
 }
Exemple #10
0
 public FindAccountQueryHandler(IAccountsContext context)
 {
     _table = new AccountsTable(context);
 }
 public TransferCommandHandler(IAccountsContext context)
 {
     _accountsTable     = new AccountsTable(context);
     _transactionsTable = new TransactionsTable(context);
 }
Exemple #12
0
 public StartTransactionCommandHandler(IAccountsContext context)
 {
     _table = new TransactionsTable(context);
 }
 public AccountController(IAccountsContext context, IAccountsRepository<User> accountsRepository)
 {
     _context = context;
     _accountsRepository = accountsRepository;
 }