public ContactOwnersController(IOrchardServices orchardServices, IMessageManager messageManager, IPackageService packageService,
            IUserkeyPackageService userkeyPackageService, IParameterFormatValidator parameterFormatValidator, IPackageVisitTracker packageVisitTracker) {
            _orchardServices = orchardServices;
            _packageVisitTracker = packageVisitTracker;
            _messageManager = messageManager;
            _packageService = packageService;
            _userkeyPackageService = userkeyPackageService;
            _parameterFormatValidator = parameterFormatValidator;

            T = NullLocalizer.Instance;
        }
        public ReportAbuseController(IOrchardServices orchardServices, IMembershipService membershipService, IMessageManager messageManager,
            IPackageService packageService, IParameterFormatValidator parameterFormatValidator, IPackageVisitTracker packageVisitTracker) {
            _orchardServices = orchardServices;
            _packageVisitTracker = packageVisitTracker;
            _messageManager = messageManager;
            _packageService = packageService;
            _parameterFormatValidator = parameterFormatValidator;
            _membershipService = membershipService;

            _reportAbuseUserName =
                new Lazy<string>(() => _orchardServices.WorkContext.CurrentSite.As<GallerySettingsPart>().ReportAbuseUserName);

            T = NullLocalizer.Instance;
        }
        public PackageController(IOrchardServices services, ITaxonomyService taxonomyService, IGalleryPackageService galleryPackageService,
            IPackageService packageService, IPackageViewModelMapper packageViewModelMapper, IServiceUriBuilder serviceUriBuilder,
            IUserPackageAuthorizer userPackageAuthorizer, IParameterFormatValidator parameterFormatValidator, IPackageVisitTracker packageVisitTracker,
            IGalleryPackagePublishingService packagePublishingService, IPackagePartPublishingService packagePartPublishingService) {
            _services = services;
            _packagePartPublishingService = packagePartPublishingService;
            _userPackageAuthorizer = userPackageAuthorizer;
            _parameterFormatValidator = parameterFormatValidator;
            _taxonomyService = taxonomyService;
            _galleryPackageService = galleryPackageService;
            _packageService = packageService;
            _packageViewModelMapper = packageViewModelMapper;
            _packageVisitTracker = packageVisitTracker;
            _packagePublishingService = packagePublishingService;

            T = NullLocalizer.Instance;
        }
 public StoreLastVisitedPackageListAttribute(IPackageVisitTracker packageVisitTracker) {
     _packageVisitTracker = packageVisitTracker;
 }
 public StoreLastVisitedPackageDetailsLinkAttribute(IPackageVisitTracker packageVisitTracker)
 {
     _packageVisitTracker = packageVisitTracker;
 }