public WidgetPollsService(IPollService pollService, PollsSettings pollsSettings, IStaticCacheManager cacheManager, IWorkContext workContext, IStoreContext storeContext) { this._pollService = pollService; this._pollsSettings = pollsSettings; this._cacheManager = cacheManager; this._workContext = workContext; this._storeContext = storeContext; }
public WidgetsPollsController(ISettingService settingService, PollsSettings pollsSettings, ILocalizationService localizationService, INotificationService notificationService, IPermissionService permissionService) { this._settingService = settingService; this._pollsSettings = pollsSettings; this._localizationService = localizationService; this._notificationService = notificationService; this._permissionService = permissionService; }