Question: how to get dropdown selected value in mvc?
Answer: { // GET: Home.
public ActionResult Index() {
return View(); }
[HttpPost]
public ActionResult Index(PersonModel person) {
int personId = person.PersonId; string name = person.Name;
string gender = person.Gender; string city = person.City;
return View();