Exemplo n.º 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);
 }
Exemplo n.º 2
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);
 }