var builder = DistributedApplication.CreateBuilder(args);

// Add API projects
var managingApi = builder.AddProject<Projects.Managing_Api>("managing-api");
var workersApi = builder.AddProject<Projects.Managing_Api_Workers>("worker-api");

// No need to add containers - your APIs will use their existing connection strings
// from their respective appsettings.json files

// Connect services to resources
workersApi.WithReference(managingApi);

builder.Build().Run();