public static string BuildProductPageUrl(int productId, string productName) { return(string.Format("/product/{0}/{1}", productId, UrlHelperExtensions.Beautify(productName))); }
public static string BuildProductsByCategoryPageUrl(int categoryId, string categoryName) { return(string.Format("/catalog/c/{0}/{1}", categoryId, UrlHelperExtensions.Beautify(categoryName))); }
public static string BuildProductsBySupplierPageUrl(int supplierId, string supplierName) { return(string.Format("/catalog/s/{0}/{1}", supplierId, UrlHelperExtensions.Beautify(supplierName))); }