public LandingNodeViewModel(FashionStoreSubLandingNodeContent category, string language)
            : this(language)
        {
            // main category
            string mainCategory = "";
            var mainCategoryNode = category.GetParent();
            if (mainCategoryNode != null)
            {
                mainCategory = mainCategoryNode.Name;
            }

            if (!string.IsNullOrEmpty(mainCategory))
            {
                _query = _query.Filter(x => x.MainCategoryName.Match(mainCategory));
            }

            _query = _query.Filter(x => x.ParentCategoryName.Match(category.Name));
        }
 public LandingNodeViewModel(FashionStoreSubLandingNodeContent category, HttpRequestBase httpRequest)
     : this(category, GetLanguage(httpRequest))
 {
 }