コード例 #1
0
 public ProductsCompatibilityController(
     IAllProductsCompatibilities repoProdComp,
     IRepository <Product> repoProd,
     IRepository <Compatibility> repoComp
     )
 {
     _repoProdComp = repoProdComp;
     _repoProd     = repoProd;
     _repoComp     = repoComp;
 }
コード例 #2
0
 public HomeController(IRepository <Product> repoProd, IAllProductsCompatibilities repoProdComp)
 {
     _repoProd     = repoProd;
     _repoProdComp = repoProdComp;
 }