Beispiel #1
0
 public HomeController(IProductService productService, ICategoryservice categoryService, ISubCategoryService subCategoryService, IBrandService brandService)
 {
     _productService     = productService;
     _categoryService    = categoryService;
     _subCategoryService = subCategoryService;
     _brandService       = brandService;
 }
 public ProductController(IProductService productService, ISubCategoryService subCategoryService, ICategoryservice categoryService, IBrandService brandService, ICityService cityService, IFileProvider fileProvider, IHostingEnvironment env)
 {
     _productService     = productService;
     _brandService       = brandService;
     _categoryService    = categoryService;
     _subCategoryService = subCategoryService;
     _cityService        = cityService;
     _fileProvider       = fileProvider;
     _env = env;
 }
Beispiel #3
0
 public CategoryController(ICategoryservice categoryService)
 {
     _categoryService = categoryService;
 }
 public SubCategoryController(ISubCategoryService subCategoryService, ICategoryservice categoryService)
 {
     _subCategoryService = subCategoryService;
     _categoryService    = categoryService;
 }
Beispiel #5
0
 public BrandController(ISubCategoryService subCategoryService, ICategoryservice categoryService, IBrandService brandService)
 {
     _subCategoryService = subCategoryService;
     _categoryService    = categoryService;
     _brandService       = brandService;
 }