Answers for "return view mvc"

C#
2

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
0

asp net mvc 5 return view from another controller

Return RedirectToRoute("Stuff");
Posted by: Guest on May-15-2020

C# Answers by Framework

Browse Popular Code Answers by Language