Created
April 18, 2015 20:26
-
-
Save davidsonsousa/67721b505f7070db0c14 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class GenericViewModel | |
{ | |
[Display(Name = "Country")] | |
public Guid SelectedCountryId { get; set; } | |
public List<SelectListItem> CountryItems { get; set; } | |
public GenericViewModel() | |
{ | |
var ddlHelper = new DropDownListHelper(); | |
this.CountryItems = ddlHelper.CountryItems.ToList(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment