public CartController(IBillRepository billRepo, IProductsInBillRepository productsInBillRepo, IProductRepository productRepo, IKindRepository kindRepo, ICategoryRepository categoryRepo) { this.billRepo = billRepo; this.productsInBillRepo = productsInBillRepo; this.productRepo = productRepo; this.kindRepo = kindRepo; this.categoryRepo = categoryRepo; }
private const int USER_PAGE_SIZE = 20; //Paging Manage User Page public AdminController(IProductRepository productRepo, IKindRepository kindRepo, IProductStatusRepository productStatusRepo, ICategoryRepository categoryRepo, IUserRepository userRepo, IRoleRepository roleRepo, IBillRepository billRepo, IProductsInBillRepository productsInBillRepo) { this.productRepo = productRepo; this.kindRepo = kindRepo; this.productStatusRepo = productStatusRepo; this.categoryRepo = categoryRepo; this.userRepo = userRepo; this.roleRepo = roleRepo; this.billRepo = billRepo; this.productsInBillRepo = productsInBillRepo; }