public IEnumerable <WebApp> GetWebAppsFromAzure(IResourceGroupController rgc)
        {
            var resourceGroups = rgc.ListAllResourGroups();
            var webapps        = GetWebAppsForResourceGroupFromAzure(resourceGroups);

            return(webapps);
        }
        public string GetAllWebAppsForAllResGrpsAsString(IResourceGroupController rgc)
        {
            var webapps = GetWebAppsFromAzure(rgc);
            var sb      = new StringBuilder();

            foreach (var app in webapps)
            {
                sb.AppendLine(app.ToString());
            }

            return(sb.ToString());
        }