Exemplo n.º 1
0
        protected override async void OnStart(string[] args)
        {
            var sessionModService = new SessionModService();
            var sessionId         = sessionModService.Login();

            var partService = new PartService(sessionId);
            await partService.SyncParts();
        }
Exemplo n.º 2
0
 public static async Task DoSyncPart()
 {
     var partService = new PartService();
     await partService.SyncParts();
 }
Exemplo n.º 3
0
 public async Task DoSyncPart(Guid sessionId)
 {
     var partService = new PartService(sessionId);
     await partService.SyncParts();
 }