public virtual ActionResult Details(int id, string name) { UserDetailsVM model = new UserDetailsVM() { UserID = id, Name = name ?? "Test Name" }; return View(MVC.User.Views.ViewNames.Details); }
public virtual ActionResult T4Details(UserDetailsVM model) { return RedirectToAction(MVC.User.Details(model.UserID, model.Name)); }
public virtual ActionResult Details(UserDetailsVM model) { return RedirectToAction("Details", new { id = model.UserID, name = model.Name }); }