Roads ASP.NET disfigured
From so much trying and fuçar I think I ended up disfiguring something important, so I can not make the routes work.
In this image it appears that the form is as post sending to the LoginProfessional controller in the action Logon. I'm not using RenderBody to load this login form, the idea is to use only the controller action without having to use view, because it is already in the correct place
Here appears that Action Logon exists in the loginprofessional controller
Routes file, the home page of the site enters normally, but I want to access the loginprofessional controller and after the login made, redirect to within an Area.
1 answers
Controller
is not /LoginProfissional/Logon
. It's /Home/Logon
.
Create a LoginProfissionalController
or use the /Home/Logon
route.