diff --git a/roles/lib/files/FWO.Services/ModellingAppZoneHandler.cs b/roles/lib/files/FWO.Services/ModellingAppZoneHandler.cs index f41758b47..b9465eed4 100644 --- a/roles/lib/files/FWO.Services/ModellingAppZoneHandler.cs +++ b/roles/lib/files/FWO.Services/ModellingAppZoneHandler.cs @@ -75,8 +75,10 @@ public async Task CreateAppZone(int appId) appZone.AppServers.AddRange(allAppServers); - int newAppZoneId = await AddAppZoneToDb(appZone); + int newAppZoneId = await AddAppZoneToDb(appZone); appZone.Id = newAppZoneId; + + await AddAppServersToAppZone(appZone.Id, appZone.AppServers); } else {