mardi 21 juin 2016

how to create action for mulitple view button (submit) in one controller in MVC

I am not able to perform action for button from second view, my folder path look like this

   --Controllers
   ----LoginController
   --Models
   ----LoginModel
   --Views
   ----Login
   ------Login.cshtml
   ----Home.cshtml

In one controller I create 2 action one is Login and another is home... and in Login view I created button when I click it take to the controller,

but when I click form home view it does nothing...

Aucun commentaire:

Enregistrer un commentaire