Esempio n. 1
0
 /// <summary>
 /// Gets the home node.
 /// </summary>
 /// <param name="currentPageId">The current page identifier.</param>
 /// <returns></returns>
 public IPublishedContent GetHomeNode(int currentPageId) => _homeNode ?? (_homeNode = Umbraco.GetHomeNode(currentPageId, HomeDocumentTypeAlias));