Pradeep Yadav

Pradeep Yadav

  • 407
  • 5.5k
  • 1.9m

Redirect toAction

Aug 6 2021 12:28 PM

Hi,
I am developing a web application using ASP.net MVC.
I have Login method. This methods edirects to Home/Home action method.
I am creating independentent .html file for ajax post call for same action method on button click.
When click on button, Login action method is getting executed , however it is but home action method is not getting called. But HomeController contructor is getting executed.
Please help me
Regards,
Pradeep
 


Answers (4)