Пример #1
0
        public void RepublishWithImageIssue()
        {
            var service = new WalmartListingService(_log,
                                                    _time,
                                                    _dbFactory);

            service.RepublishListingWithImageIssue();
        }
Пример #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();
        }