Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
The idea poorly fits into the MVC approach. Ideally, you would move this View to the Shared folder. You can do some magic and try to write return View("ControllerName\ViewName")
If from layout, then something like:
@Html.Partial("../OtherController/Action", model)
или
@Html.Action("Action", "OtherController", params)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question