示例#1
0
 private static string BuildUrl(BreadcrumbModel bc, ProductModel newProd)
 {
     if (newProd != null && (bc.Collection != null || (bc.Category != null)))
     {
         return(UrlBuilder.BuildProductDetailUrl(bc, newProd.Code, newProd.Name));
     }
     else
     {
         return("#");
     }
 }