Widok zwrotu MVC z innego kontrolera
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);