c# return different view code example
Example: return view mvc
public ActionResult SomeAction()
{
...
return RedirectToAction("SomeAction", "SomeController");
}
public ActionResult SomeAction()
{
...
return RedirectToAction("SomeAction", "SomeController");
}