private void PopulateLists(RegisterModel model) { ModelUtility modelUtility = new ModelUtility(); ViewData["GenderList"] = modelUtility.GetGenderSelectList(model.Gender.ToString()); ViewData["SmokerList"] = modelUtility.GetSmokerSelectList(model.IsSmoker.ToString()); ViewData["StateList"] = modelUtility.GetStateSelectList(model.StateCode); ViewData["CountryList"] = modelUtility.GetCountrySelectList(model.CountryCode); ViewData["ContactByList"] = modelUtility.GetContactBySelectList(model.ContactBy.ToString()); ViewData["CitizenshipList"] = modelUtility.GetCitizenshipSelectList(model.Citizenship.ToString()); }