protected override void RunCallback()
        {
            var dbFactory = new DbFactory();
            var time      = new TimeService(dbFactory);
            var log       = GetLogger();

            _api.Connect();

            var service = new ItemRepublishService(log, time, dbFactory);

            service.PublishUnpublishedListings(MarketType.eBay, null);
        }
Esempio n. 2
0
        public void Republish(eBayApi api)
        {
            var service = new ItemRepublishService(_log, _time, _dbFactory);

            service.PublishUnpublishedListings(MarketType.eBay, null);
        }