Esempio n. 1
0
        public static async Task DoSyncSO()
        {
            var hour = DateTime.Now.Hour;

            if (hour >= 8 && hour <= 20)
            {
                var soService = new SOService();
                await soService.SyncSOs();
            }
        }
Esempio n. 2
0
 public async Task DoSyncSO(Guid sessionId)
 {
     var soService = new SOService(sessionId);
     await soService.SyncSOs();
 }