Pradeep Yadav

Pradeep Yadav

  • 323
  • 5.6k
  • 2.7m

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)