Ejemplo n.º 1
0
 public static string GetActualizeGrouponQtyUrl(string feedFileName)
 {
     return("~/Groupon/GetFeed/" + UrlHelper.UrlEncodeFilename(feedFileName));
 }
Ejemplo n.º 2
0
 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));
 }