Add AnalyzeEarlySlotRegistrationsAsync method and update Program menu

This commit is contained in:
2026-02-03 07:41:37 +01:00
parent 0b1e735a9f
commit d177a25c3d
3 changed files with 144 additions and 0 deletions

View File

@@ -19,6 +19,7 @@ logger.Info("Choose a task to execute:");
logger.Info("1. Check Aldi Memberships");
logger.Info("2. Confirm all Unconfirmed Pickups for Lindenberg");
logger.Info("3. Analyze slot unregistrations for region Siegen");
logger.Info("4. Analyze early slot registrations (calendar interval)");
logger.Info("Enter the number of the task to execute (or any other key to exit): ");
var choice = Console.ReadLine();
@@ -33,6 +34,9 @@ switch (choice)
case "3":
await CustomTasks.AnalyzeSlotUnregistrationsAsync(httpClient);
break;
case "4":
await CustomTasks.AnalyzeEarlySlotRegistrationsAsync(httpClient);
break;
default:
logger.Info("Exiting...");
break;