/// <summary>
        /// List all sites
        /// </summary>
        /// <param name="service"></param>
        /// <returns></returns>
        public static async Task <List <string> > ListAllSitesAsync(
            this IApplicationRegistry service)
        {
            var sites  = new List <string>();
            var result = await service.ListSitesAsync(null);

            sites.AddRange(result.Sites);
            while (result.ContinuationToken != null)
            {
                result = await service.ListSitesAsync(result.ContinuationToken);

                sites.AddRange(result.Sites);
            }
            return(sites);
        }