Пример #1
0
 public TestService(IRepository1 repository1,
                    IRepository2 repository2,
                    IRepository3 repository3,
                    IRepository4 repository4,
                    IRepository5 repository5
                    )
 {
     this.repository1 = repository1;
     this.repository2 = repository2;
     this.repository3 = repository3;
     this.repository4 = repository4;
     this.repository5 = repository5;
 }
Пример #2
0
 public StockExchangeController(IRepository5 repo)
 {
     this.repo = repo;
 }