Beispiel #1
0
 public PortfolioAppFactory()
 {
     AutomapperConfig.SetMappings();
     StockRepository          = new StockRepository(dbContext);
     StockHistoryRepository   = new StockHistoryRepository(dbContext);
     PortfolioRepository      = new PortfolioRepository(dbContext);
     UserRepository           = new UserRepository(dbContext);
     TransactionLogRepository = new TransactionLogRepository(dbContext);
 }
 public PortfolioAppFactory()
 {
     AutomapperConfig.SetMappings();
     StockRepository = new StockRepository(dbContext);
     StockHistoryRepository = new StockHistoryRepository(dbContext);
     PortfolioRepository = new PortfolioRepository(dbContext);
     UserRepository = new UserRepository(dbContext);
     TransactionLogRepository = new TransactionLogRepository(dbContext);
 }