mvc return view from different controller
Code Example - mvc return view from different controller
return View("~/Views/SomeThing/Index.cshtml");
return View("~/Views/SomeThing/Index.cshtml",model);
return view mvc
public ActionResult SomeAction()
{
...
return RedirectToAction("SomeAction", "SomeController");
}
asp net mvc 5 return view from another controller
Return RedirectToRoute("Stuff");