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