예제 #1
0
 public BasketService(IReository <Product> ProductContext, IReository <Basket> BasketContext)
 {
     this.basketContext  = BasketContext;
     this.productContext = ProductContext;
 }
 public ProductManagerController(IReository <Product> productContext, IReository <ProductCategory> productCategoryContext)
 {
     context           = productContext;
     productCategories = productCategoryContext;
 }
 public ProductCategoryManagerController(IReository <ProductCategory> context)
 {
     this.context = context;;
 }