return view in mvc .net code example
Example 1: mvc return view from different controller
return View("~/Views/SomeThing/Index.cshtml");
return View("~/Views/SomeThing/Index.cshtml",model);
Example 2: return view mvc
public ActionResult SomeAction()
{
...
return RedirectToAction("SomeAction", "SomeController");
}