예제 #1
0
 public AccountController(IAllProducts products,
                          IProductsCategory categories,
                          AppDBContent content,
                          IWebHostEnvironment environment)
 {
     db           = content;
     _products    = products;
     _categories  = categories;
     _environment = environment;
 }
예제 #2
0
 public ProductsController(IAllProducts productRep,
                           IProductsCategory categoryRep,
                           ServiceUser serviceUser,
                           FilterService filterService,
                           IComment commentRep)
 {
     this.productRep    = productRep;
     this.categoryRep   = categoryRep;
     this.serviceUser   = serviceUser;
     this.filterService = filterService;
     this.commentRep    = commentRep;
 }
예제 #3
0
 public AdminProductController(IAllProducts productRep,
                               IProductsCategory categoryRep,
                               ServiceUser serviceUser,
                               FilterService filterService,
                               IManufacturer manufacturerRep,
                               FileService fileService)
 {
     this.productRep      = productRep;
     this.categoryRep     = categoryRep;
     this.serviceUser     = serviceUser;
     this.filterService   = filterService;
     this.manufacturerRep = manufacturerRep;
     this.fileService     = fileService;
 }
예제 #4
0
 public CategoryController(IAllProducts iAllProducts, ICategories iCategory)
 {
     _allProducts   = iAllProducts;
     _allCategories = iCategory;
 }
예제 #5
0
 public CategoriesController(IAllCategories allCategories, IAllProducts allProducts)
 {
     this.allCategories = allCategories;
     this.allProducts   = allProducts;
 }
예제 #6
0
 public ProductsController(IAllProducts iAllProducts, IProductsCategory iProductsCat)
 {
     _allProducts   = iAllProducts;
     _allCategories = iProductsCat;
 }
예제 #7
0
 public ShopBasketController(IAllProducts motoRepos, ShopBasket shopBasket)
 {
     MotoRepos = motoRepos;
     SBasket   = shopBasket;
 }
예제 #8
0
 public CartModel(IAllProducts repo, Cart cartService)
 {
     repository = repo;
     Cart       = cartService;
 }
예제 #9
0
 public CoffeeController(IAllProducts iAllProducts, ICoffeCategory iCoffeCat)
 {
     _allProducts   = iAllProducts;
     _allCategories = iCoffeCat;
 }
예제 #10
0
 public HomeController(IAllProducts allProducts, IProductsCategory allCategories, IWebHostEnvironment appEnvironment)
 {
     _allProducts    = allProducts;
     _allCategories  = allCategories;
     _appEnvironment = appEnvironment;
 }
예제 #11
0
 public HomeController(IAllProducts motoRepos, ShopBasket shopBasket)
 {
     MRep = motoRepos;
 }
 public ShopCartController(IAllProducts coffeeRepository, ShopCart shopCart)
 {
     _coffeeRepository = coffeeRepository;
     _shopCart         = shopCart;
 }
예제 #13
0
 public ProductController(IAllProducts allProducts, IProductsCategory productCategory)
 {
     _allProducts       = allProducts;
     _productCategories = productCategory;
 }
예제 #14
0
 public ShopCartController(IAllProducts productRepository, ShopCart shopCart)
 {
     _productRepository = productRepository;
     _shopCart          = shopCart;
 }
예제 #15
0
 public HomeController(IAllProducts iAllProducts)
 {
     _allProducts = iAllProducts;
 }
예제 #16
0
 public ProductsController(IAllProducts iAllProducts, IProductsCategory iProductsCategory)
 {
     _AllProducts       = iAllProducts;
     _IProductsCategory = iProductsCategory;
 }
예제 #17
0
        public int PageSize = 6; // The field specifies that I want four products per page.



        public ProductController(IAllProducts allProducts, ICategories allCategories)
        {
            this.allProducts   = allProducts;
            this.allCategories = allCategories;
        }
 public ProductsController(IAllProducts allProducts)
 {
     this.allProducts = allProducts;
 }
예제 #19
0
 public ShopCartController(IAllProducts prodRep, ShopCart shopCart)
 {
     _ProdRep  = prodRep;
     _ShopCart = shopCart;
 }
예제 #20
0
 public CartController(IAllProducts productRep, Cart cart)
 {
     _productRep = productRep;
     _cart       = cart;
 }
예제 #21
0
 public HomeController(IAllProducts prodRep)
 {
     _ProdRep = prodRep;
 }
예제 #22
0
 public MotoController(IAllProducts allProducts, IMotoModel motoModel)
 {
     AllProducts = allProducts;
     MotoModel   = motoModel;
 }
예제 #23
0
 public ProductController(IAllProducts iAllProducts, IProductCategory iAllCategories)
 {
     _allProducts   = iAllProducts;
     _allCategories = iAllCategories;
 }
예제 #24
0
 public HomeController(IAllProducts productRepository)
 {
     _productRep = productRepository;
 }
 public HomeController(IAllProducts coffeeRepository)
 {
     _coffeeRepository = coffeeRepository;
 }
예제 #26
0
 public DeliverCartController(IAllProducts productRepository, DeliveryCart deliveryCart)
 {
     _productRep   = productRepository;
     _deliveryCart = deliveryCart;
 }
예제 #27
0
 public ProductsController(IAllProducts productRep)
 {
     _productRep = productRep;
 }
예제 #28
0
 public NavigationMenuViewComponent(IAllProducts repo)
 {
     repository = repo;
 }