1 public ActionResult A(string title) 2 { 3 return Redirect("B"+((String.IsNullOrEmpty(title))?"":"?title="+title.ToString())); 4 } 5 public ActionResult B(string title) 6 { 7 return View(); 8 }
1 public ActionResult A(string title) 2 { 3 return Redirect("B"+((String.IsNullOrEmpty(title))?"":"?title="+title.ToString())); 4 } 5 public ActionResult B(string title) 6 { 7 return View(); 8 }