1
參數
我重定向我的動作到另一個網址woth可選參數和變量傳遞給控制器MVC URL RedirectToAction URL有變量及其地址
RedirectToAction("action", new { a, c, s,ds});
but my urls loosk like this
http://localhost:8080/contoller/action?a=1&c=2&s=3&ds=4
but when i directly call teh action the url looks like this
http://localhost:8080/contoller/action/1/2/3/4
how can i get the same url with redirect ..any suggestion