Exemplo n.º 1
0
        /// <summary>
        /// Navigations the group.
        /// </summary>
        /// <param name="cachKey">The cach key.</param>
        /// <returns></returns>
        private NavigationGroup NavigationGroup(string cachKey)
        {
            var model = _cache.GetOrSet(CurrentItem?.ID + cachKey, () =>
                                        _navigationRepository.GetNavigationLinks(CurrentItem), Constants.Property.Duration);

            return(model);
        }