public PdfService(
     IFileStorage fileStorage,
     IStorageQueue queue,
     IWishlistPersistence wishlistPersistence,
     IUriTemplateMatcher matcher)
 {
     this.fileStorage         = fileStorage;
     this.queue               = queue;
     this.wishlistPersistence = wishlistPersistence;
     this.matcher             = matcher;
 }
        public WishlistModule(
            IModelTemplateProvider provider,
            IIriTemplateFactory templateFactory,
            IWishlistRepository wishlistRepository,
            IWishlistPersistence wishlistPersistence)
            : base(provider)
        {
            this.templateFactory     = templateFactory;
            this.wishlistRepository  = wishlistRepository;
            this.wishlistPersistence = wishlistPersistence;

            using (this.Templates)
            {
                this.Put <WishlistItem>(this.PutWishlistItem);
                this.Get <Collection <WishlistItem> >(this.GetWishlist);
            }
        }