public ActionResult SayHello(SayHelloForm form) { //bad way with magic string: //return RedirectToAction("SayHello", new { name = form.Name }); //good way using Microsoft.Web.Mvc Futures return(this.RedirectToAction(c => c.SayHello(form.Name))); }
public ActionResult SayHello(SayHelloForm form) { return(this.RedirectToAction(c => c.SayHello(form.Name))); }