I have a normal mvc 5 application and would like to change the basic folder convention for controllers / views.
For example:
- / Controllers / Admin /Controller1.cs
- / Controllers / Admin /Controller2.cs
And when I create views, I follow the existing convention:
- /Views/Controller1/Index.cshtml
- /Views/Controller2/Index.cshtml
The problem is this: in action, when I use the "Go To View" option, it correctly finds the view, but winter does not work. In the view, when I use the "Go To Controller " option I get the message " Unable to find a matching controller ".
I can not consider the use of areas because the next version of mvc will come without it.
Is there a solution to this?