Skip to content

Instantly share code, notes, and snippets.

@JudahGabriel
Last active July 1, 2016 20:53
Show Gist options
  • Save JudahGabriel/eb582979d33ca23d3db1ed2544f3deee to your computer and use it in GitHub Desktop.
Save JudahGabriel/eb582979d33ca23d3db1ed2544f3deee to your computer and use it in GitHub Desktop.
/// <summary>
/// View model for a Recipe. Contains everything we want to display on the Recipe details UI page.
/// </summary>
public class RecipeViewModel
{
public string RecipeId { get; set; }
public string Name { get; set; }
public string PictureUrl { get; set; }
public List<Ingredient> Ingredients { get; set; }
public List<string> Categories { get; set; }
public string ChefName { get; set; }
public string ChefEmail { get; set; }
public IList<Comment> Comments { get; set; }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment