forefront wrote:Post the constructor for current controller.
public PLController(IRepository<PLRecord> repo,
IRepository<PLProductRecord> productRepo,
IRepository<PLPartnerRecord> partnerRepo,
IRepository<PLOrderRecord> orderRepo,
ISettingService settingService,
IPermissionService permissionService,
IStoreContext storeContext,
IStoreService storeService,
IWorkContext workContext,
IPluginFinder pluginFinder,
ILocalizationService localizationService,
IProductService productService,
ICategoryService categoryService,
IUrlRecordService urlRecordService,
ICurrencyService currencyService,
IPictureService pictureService,
ICustomerService customerService,
ISpecificationAttributeService specificationAttributeService,
IOrderService orderService,
IEncryptionService encryptionService,
CustomerSettings customerSettings,
INewsLetterSubscriptionService newsLetterSubscriptionService,
IGenericAttributeService genericAttributeService,
ICustomerAttributeParser customerAttributeParser,
ICustomerAttributeService customerAttributeService,
IAddressAttributeParser addressAttributeParser,
IAddressAttributeService addressAttributeService,
IAddressService addressService,
ICountryService countryService)
{
_productRepo = productRepo;
_repo = repo;
_partnerRepo = partnerRepo;
_orderRepo = orderRepo;
_settingService = settingService;
_permissionService = permissionService;
_storeContext = storeContext;
_storeService = storeService;
_workContext = workContext;
_pluginFinder = pluginFinder;
_localizationService = localizationService;
_productService = productService;
_categoryService = categoryService;
_urlRecordService = urlRecordService;
_currencyService = currencyService;
_pictureService = pictureService;
_customerService = customerService;
_specificationAttributeService = specificationAttributeService;
_orderService = orderService;
_encryptionService = encryptionService;
_customerSettings = customerSettings;
_newsLetterSubscriptionService = newsLetterSubscriptionService;
_genericAttributeService = genericAttributeService;
_customerAttributeParser = customerAttributeParser;
_customerAttributeService = customerAttributeService;
_addressAttributeParser = addressAttributeParser;
_addressAttributeService = addressAttributeService;
_addressService = addressService;
_countryService = countryService;
}