protected override async void OnStart(string[] args) { var sessionModService = new SessionModService(); var sessionId = sessionModService.Login(); var partService = new PartService(sessionId); await partService.SyncParts(); }
public static async Task DoSyncPart() { var partService = new PartService(); await partService.SyncParts(); }
public async Task DoSyncPart(Guid sessionId) { var partService = new PartService(sessionId); await partService.SyncParts(); }