예제 #1
0
 public AdminController(IRepoProduct _repo)
 {
     this.repo = _repo;
 }
예제 #2
0
 public CartController(IRepoProduct _repo, IOrderProcessor _proc)
 {
     this.repo = _repo;
     this.proc = _proc;
 }
 public int pageSize = 4; // I want four product per page
 public ProductController(IRepoProduct repoProduct)
 {
     this.repository = repoProduct;
 }
예제 #4
0
 public ProductService(IRepoProduct productRepository, IRepoUser userRepository, IRepoPayment paymentRepository)
 {
     _productRepository = productRepository;
     _userRepository    = userRepository;
     _paymentRepository = paymentRepository;
 }
예제 #5
0
 public NavController(IRepoProduct repo)
 {
     repository = repo;
 }