示例#1
0
 public void Execute([NotNull] BackgroundProcessContext context)
 {
     Console.WriteLine("Begin to start data sync service background job. " + DateTime.Now.ToString());
     dataSyncServiceManager.Execution();
     // context.Wait(TimeSpan.FromSeconds(5));
     Console.WriteLine("Finish data sync service background job. " + DateTime.Now.ToString());
 }
示例#2
0
 public void TryToGetAllService()
 {
     dataSyncServiceManager.Execution();
 }