public AdminController(IRepoProduct _repo) { this.repo = _repo; }
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; }
public ProductService(IRepoProduct productRepository, IRepoUser userRepository, IRepoPayment paymentRepository) { _productRepository = productRepository; _userRepository = userRepository; _paymentRepository = paymentRepository; }
public NavController(IRepoProduct repo) { repository = repo; }