public ProductCategorieController
 (
     ILoginService loginService,
     IProductCategorieService productCategorieService
 )
 {
     _loginService            = loginService;
     _productCategorieService = productCategorieService;
 }
Example #2
0
 public ProductsController(
     IProductCategorieService productCategoriesService,
     UserManager <ApplicationUser> userManager,
     IProductService productService,
     IWebHostEnvironment environment,
     IOrderService orderService)
 {
     this.productCategoriesService = productCategoriesService;
     this.userManager    = userManager;
     this.productService = productService;
     this.environment    = environment;
     this.orderService   = orderService;
 }