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

In this image it appears that the form is as post sending to the LoginProfessional controller in 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 Here it appears that the Action Logon exists in the loginprofessional controller

Here the error and URL Here the error and url

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.

Author: brasofilo, 2014-04-29

1 answers

Controller is not /LoginProfissional/Logon. It's /Home/Logon.

Create a LoginProfissionalController or use the /Home/Logon route.

 2
Author: Leonel Sanches da Silva, 2014-04-29 22:38:52