Code

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
Il y a 11 ans
Does anyone know how or what calls the following constructor in the admin controllers:

public CategoryController(ICategoryService categoryService, ICategoryTemplateService categoryTemplateService,
            IManufacturerService manufacturerService, IProductService productService,
            IPictureService pictureService, ILanguageService languageService,
            ILocalizationService localizationService, ILocalizedEntityService localizedEntityService,
            IDiscountService discountService, IPermissionService permissionService,
            IExportManager exportManager, IWorkContext workContext,
            ICustomerActivityService customerActivityService, AdminAreaSettings adminAreaSettings,
            CatalogSettings catalogSettings)

I can't seem to find any point of entry that calls this constructor when the controller is instantiated. I'm kinda new to MVC.

Thanks.
Il y a 11 ans
Everything is done by Inversion of Control and Dependency Injection pattern (IoC/DI). Find more info about it here
Il y a 11 ans
a.m. wrote:
Everything is done by Inversion of Control and Dependency Injection pattern (IoC/DI). Find more info about it here


Thank you Andrei.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.