Answers for "mvc return view in json"

2

return view mvc

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

return view mvc

return View("NameOfView", Model);
Posted by: Guest on March-27-2022

Browse Popular Code Answers by Language