/// <summary>
 /// Gets the site content for given site id.
 /// </summary>
 /// <param name="id">Site id</param>
 /// <typeparam name="T">The site model type</typeparam>
 /// <returns>The site content model</returns>
 public static T GetContentById <T>(this SiteService service, Guid id) where T : SiteContent <T>
 {
     return(service.GetContentByIdAsync <T>(id).GetAwaiter().GetResult());
 }
 /// <summary>
 /// Gets the site content for given site id.
 /// </summary>
 /// <param name="id">Site id</param>
 /// <returns>The site content model</returns>
 public static DynamicSiteContent GetContentById(this SiteService service, Guid id)
 {
     return(service.GetContentByIdAsync(id).GetAwaiter().GetResult());
 }