Пример #1
0
 public void Execute()
 {
     using (var serviceProvider = new CommunicationRequestPrepareDependancies().SetupDependancies().BuildServiceProvider())
     {
         communicationAppJobService = serviceProvider.GetService <ICommunicationRequestAppJobService>();
         Console.WriteLine("UpdateOfferStatus ===============(" + DateTime.Now.ToString() + ")==================== ");
         AsyncHelper.RunSync(() => communicationAppJobService.ExcludeSupplierOffer());
         Console.WriteLine("UpdateOfferStatus is  End ... " + DateTime.Now.ToString());
     }
 }
Пример #2
0
 public void Execute()
 {
     using (var serviceProvider = new CommunicationRequestPrepareDependancies().SetupDependancies().BuildServiceProvider())
     {
         _palintJobService = serviceProvider.GetService <ICommunicationRequestAppJobService>();
         Console.WriteLine("Plaint ===============(" + DateTime.Now.ToString() + ")==================== ");
         AsyncHelper.RunSync(() => _palintJobService.FindTendersWithPlaintsAfterStoppingPeriodJob());
         Console.WriteLine("Plaint is  End ... " + DateTime.Now.ToString());
     }
 }