public static string GetActualizeGrouponQtyUrl(string feedFileName) { return("~/Groupon/GetFeed/" + UrlHelper.UrlEncodeFilename(feedFileName)); }
public static string GetUploadImageUrl(string imageFileName) { //UrlPathEncode doesn't encode anything after the first occurence of "?". It assumes the rest is the query string, and assumes the query string is already encoded //http://stackoverflow.com/questions/4145823/httpserverutility-urlpathencode-vs-httpserverutility-urlencode return("~/Image/Get/" + UrlHelper.UrlEncodeFilename(imageFileName)); }