Created
August 7, 2013 15:32
-
-
Save jasondentler/6175148 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 City : IEntity | |
{ | |
public string Id { get; set; } | |
public string Name { get; set; } | |
public string State { get; set; } | |
public bool Disabled { get; set; } | |
} | |
public class NewCityInputModel | |
{ | |
public string Name { get; set; } | |
public string State { get; set; } | |
} | |
public class NewCityViewModel : NewCityInputModel | |
{ | |
public Dictionary<string, string> States { get; set; } | |
} | |
public class EditCityInputModel | |
{ | |
public string Id { get; set; } | |
public string Name { get; set; } | |
public string State { get; set; } | |
} | |
public class EditCityViewModel : EditCityInputModel | |
{ | |
public Dictionary<string, string> States { get; set; } | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment