public void RepublishWithImageIssue() { var service = new WalmartListingService(_log, _time, _dbFactory); service.RepublishListingWithImageIssue(); }
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(); }