public ProductsController(
     IProductsService productsService,
     IBrandsService brandsService,
     ICondiitonsService condiitonsService,
     IInventoryService inventoryService,
     IManufacturersService manufacturersService,
     IWarehouseService warehouseService,
     UserManager <ApplicationUser> userManager,
     IOrderItemsService orderItemsService,
     IManualEmailSender emailSender,
     IWebHostEnvironment environment)
 {
     this.productService       = productsService;
     this.brandsService        = brandsService;
     this.condiitonsService    = condiitonsService;
     this.inventoryService     = inventoryService;
     this.manufacturersService = manufacturersService;
     this.warehouseService     = warehouseService;
     this.userManager          = userManager;
     this.orderItemsService    = orderItemsService;
     this.emailSender          = emailSender;
     this.environment          = environment;
 }
 public ConditionDropdownViewComponent(ICondiitonsService conditionsService)
 {
     this.conditionsService = conditionsService;
 }