public breadCrumb getBreadCrumbStaticPage(string pageName) { breadCrumb helperItem = new breadCrumb(); helperItem.name = pageName; helperItem.url = "#"; return helperItem; }
private breadCrumb getBreadCrumbAllBrand(string brandName) { breadCrumb helperItem = new breadCrumb(); helperItem.name = brandName; helperItem.url = "#"; return helperItem; }
private breadCrumb getBreadCrumbTwoPage(string pageName1, string pageUrl1, string pageName2, string pageUrl2) { breadCrumb item = new breadCrumb(); item.url = Url.Content("~/") + langCode + "/" + pageUrl1 + ".html"; item.name = pageName1; item.child = new breadCrumb(); item.child.url = Url.Content("~/") + langCode + "/" + pageUrl1 + "/" + pageUrl2 + ".html"; item.child.name = pageName2; return item; }
private breadCrumb getModelSelectBreadCrumbProductList(string productCategoryName, string productCategoryUrl, string brandName, string brandUrl, string modelName) { breadCrumb helperItem = new breadCrumb(); helperItem.name = productCategoryName; helperItem.url = mainPath + langCode + "/" + productCategoryUrl + ".html"; helperItem.child = new breadCrumb(); helperItem.child.name = brandName; helperItem.child.url = mainPath + langCode + "/" + productCategoryUrl + "/" + brandUrl + ".html"; helperItem.child.child = new breadCrumb(); helperItem.child.child.name = modelName; helperItem.child.child.url = "#"; return helperItem; }
private breadCrumb getIndexBreadCrumbProductList(string productCategoryName) { breadCrumb helperItem = new breadCrumb(); helperItem.name = productCategoryName; helperItem.url = "#"; return helperItem; }