Vista de retorno de MVC desde diferentes controladores
return View("~/Views/SomeThing/Index.cshtml");
return View("~/Views/SomeThing/Index.cshtml",model);
solidappers
return View("~/Views/SomeThing/Index.cshtml");
return View("~/Views/SomeThing/Index.cshtml",model);
public ActionResult SomeAction()
{
...
return RedirectToAction("SomeAction", "SomeController");
}
Return RedirectToRoute("Stuff");
return View("NameOfView", Model);