Esempio n. 1
0
        public void RepublishWithBarcodeIssue()
        {
            var service = new WalmartListingService(_log,
                                                    _time,
                                                    _dbFactory);

            service.RepublishListingWithBarcodeIssue();
        }
Esempio n. 2
0
        protected override void RunCallback()
        {
            var dbFactory = new DbFactory();
            var time      = new TimeService(dbFactory);
            var log       = GetLogger();

            var now = time.GetAppNowTime();

            if (!time.IsBusinessDay(now))
            {
                return;
            }

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

            service.RepublishListingWithImageIssue();

            service.RepublishListingWithSKUIssue();

            service.RepublishListingWithBarcodeIssue();
        }