예제 #1
0
 public HomeController(IPotteryProductRepository productRepository)
 {
     _productRepository = productRepository;
 }
예제 #2
0
 public PotteryProductController(IPotteryProductRepository potteryRepository,
                                 ICategoryRepository categoryRepository)
 {
     _potteryRepository  = potteryRepository;
     _categoryRepository = categoryRepository;
 }
 public ShoppingCartController(IPotteryProductRepository productRepository, ShoppingCart shoppingCart)
 {
     _productRepository = productRepository;
     _shoppingCart      = shoppingCart;
 }