I have a table like
table Car(
id int primary key,
type nvarchar(300)
)
and I have mvc CarController with
[Httpost]
Edit(Car model){}
I have a view where Id is hidden and enter texbox, now I would like to know if someone overrides the hidden value and sends a different identifier, will it change the other line? how can i prevent this?
source
share