/// <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