예제 #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 ProductsController(IAllProducts iAllProducts, IProductsCategory iProductsCat)
 {
     _allProducts   = iAllProducts;
     _allCategories = iProductsCat;
 }
예제 #5
0
 public ProductsController(IAllProducts iAllProducts, IProductsCategory iProductsCategory)
 {
     _AllProducts       = iAllProducts;
     _IProductsCategory = iProductsCategory;
 }
예제 #6
0
 public AdminCategoryController(IProductsCategory categoryRep)
 {
     this.categoryRep = categoryRep;
 }
예제 #7
0
 public ProductsController(IProducts products, IProductsCategory productsCategory)
 {
     _products         = products;
     _productsCategory = productsCategory;
 }
예제 #8
0
 public HomeController(IAllProducts allProducts, IProductsCategory allCategories, IWebHostEnvironment appEnvironment)
 {
     _allProducts    = allProducts;
     _allCategories  = allCategories;
     _appEnvironment = appEnvironment;
 }
예제 #9
0
 public ProductController(IAllProducts allProducts, IProductsCategory productCategory)
 {
     _allProducts       = allProducts;
     _productCategories = productCategory;
 }