title: MVC ViewModel State Dropdown
body: <p>I am new to MVC and View Models, and trying to wrap my thoughts on how it all works and ties together. I am trying to populate a State dropdown in an Address table. I have a States table with StateAbbr and StateName. What I would like to do is display StateName and save StateAbbr in the Address table. I have been working in the Address Create view. I have tried a number of ways and nothing seems to work so I thought I would just ask the question. My main way of doing it was through Ajax however it would display the StateName but save a Null and was told not to do it this way. Then thought to do it through a ViewModel which I have set up with IEnumerable however I am not sure how to implement it from there. </p>