public TradingStart( IUserTableRepository userTableRepository, ISharesTableRepository sharesTableRepository, IAddingSharesToThUserServiceTableRepository addingSharesToThUserServiceTableRepository, ITransactionRepositories transactionRepositories, TradingSimulatorDbContext tradingSimulatorDbContext, UserService userService, SharesService sharesService, AddingSharesToThUserService addingSharesToThUserService, TransactionService transactionService, TradingSimulation tradingSimulation) { this.userTableRepository = userTableRepository; this.sharesTableRepository = sharesTableRepository; this.addingSharesToThUserServiceTableRepository = addingSharesToThUserServiceTableRepository; this.transactionRepositories = transactionRepositories; this.tradingSimulatorDbContext = tradingSimulatorDbContext; this.userService = userService; this.sharesService = sharesService; this.addingSharesToThUserService = addingSharesToThUserService; this.transactionService = transactionService; this.tradingSimulation = tradingSimulation; }
public AddingSharesToThUserService(IAddingSharesToThUserServiceTableRepository addingSharesToThUserServiceTableRepository, IUserTableRepository userTableRepository, ISharesTableRepository sharesTableRepository) { this.addingSharesToThUserServiceTableRepository = addingSharesToThUserServiceTableRepository; this.userTableRepository = userTableRepository; this.sharesTableRepository = sharesTableRepository; }