public UserController(IAccountsContext context, IAccountsRepository<User> userRepository) { _context = context; _userRepository = userRepository; }
public LogActionCommandHandler(IAccountsContext context) { _table = new AccountActionsTable(context); }
public GetAccountsQueryHandler(IAccountsContext context) { _table = new AccountsTable(context); }
public CloseAccountCommandHandler(IAccountsContext context) { _table = new AccountsTable(context); }
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)); }
public FindAccountQueryHandler(IAccountsContext context) { _table = new AccountsTable(context); }
public TransferCommandHandler(IAccountsContext context) { _accountsTable = new AccountsTable(context); _transactionsTable = new TransactionsTable(context); }
public StartTransactionCommandHandler(IAccountsContext context) { _table = new TransactionsTable(context); }
public AccountController(IAccountsContext context, IAccountsRepository<User> accountsRepository) { _context = context; _accountsRepository = accountsRepository; }