In Customer List Edit Page, Save button receiving empty model

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
Il y a 4 ans
Where does
Edit(CustomerModel model, bool continueEditing, FormCollection form)
get the model from? I thought it just got the model displayed in the very page the buttons calling the action are located, but that one is not empty...
Il y a 4 ans
Solved it in a rather hacky way.., so by using the model the
Edit(int id)
generates.
Il y a 4 ans
I think you are confused with the method signature and HTTP verbs.
The top method signature is for HttpPostwhich is used when you need to post the data while the second one is for HttpGet.
For more details on
https://stackoverflow.com/questions/2080863/what-is-the-difference-between-a-http-get-and-http-post-and-why-is-http-post-wea
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.