Skip to content

Instantly share code, notes, and snippets.

@jasondentler
Created August 7, 2013 15:32
Show Gist options
  • Save jasondentler/6175148 to your computer and use it in GitHub Desktop.
Save jasondentler/6175148 to your computer and use it in GitHub Desktop.
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