Answers for "mvc.net return a different view"

3

mvc return view from different controller

return View("~/Views/SomeThing/Index.cshtml");
return View("~/Views/SomeThing/Index.cshtml",model);
Posted by: Guest on December-10-2020
2

return view mvc

public ActionResult SomeAction()
{
    ...
    return RedirectToAction("SomeAction", "SomeController");
}
Posted by: Guest on July-02-2020

Code answers related to "mvc.net return a different view"

Browse Popular Code Answers by Language