1
Hello, everybody.
I created a view, inside a subfolder like this example:
Views | Home | Minhasubpasta Myview.cshtml
In the controller, I have the following method that should call this view in the subfolder:
private ActionResult MinhaView()
{
return View("??????"); // <= tem que chamar a view que está na subpasta
}
I don’t know what to call this view in my subfolder. Some colleague could help me in this matter?
Hugs Hugo
Does this controller match the views in the Home? Homecontroller folder?
– João Ignácio
Yes, the method is in Homecontroller. But I did it for now, to exemplify and post my question. In fact, I’ll do it in another custom controller.
– Hugo