Пример #1
0
 public ProductCommentsController(IPermissionService permissionService,
                                  IProductService productService,
                                  IProductCommentService productCommentService,
                                  IWorkContext workContext,
                                  ProductCommentsSetting productCommentsSetting,
                                  ILocalizationService localizationService,
                                  IDateTimeHelper dateTimeHelper,
                                  IStoreContext storeContext,
                                  CustomerSettings customerSettings,
                                  ICustomerService customerService,
                                  IUrlRecordService urlRecordService,
                                  IProductCommentModelFactory productCommentModelFactory)
 {
     this._permissionService          = permissionService;
     this._productService             = productService;
     this._productCommentService      = productCommentService;
     this._workContext                = workContext;
     this._productCommentsSetting     = productCommentsSetting;
     this._localizationService        = localizationService;
     this._dateTimeHelper             = dateTimeHelper;
     this._storeContext               = storeContext;
     this._customerSettings           = customerSettings;
     this._customerService            = customerService;
     this._urlRecordService           = urlRecordService;
     this._productCommentModelFactory = productCommentModelFactory;
 }
Пример #2
0
 public ProductCommentsViewComponents(IProductService productService,
                                      IProductCommentService productCommentService,
                                      IWorkContext workContext,
                                      ProductCommentsSetting productCommentsSetting,
                                      IProductCommentModelFactory productCommentModelFactory,
                                      ILocalizationService localizationService)
 {
     this._productService             = productService;
     this._productCommentService      = productCommentService;
     this._workContext                = workContext;
     this._productCommentsSetting     = productCommentsSetting;
     this._productCommentModelFactory = productCommentModelFactory;
     this._localizationService        = localizationService;
 }