As a user
So I can select a meal
I want meals to be stored
// Implements IModel to enforce Id prop and to
// be used with IDataAccess<TModel>
public class MealModel : IModel
{
public int Id { get; set; }
public string? Name { get; set; }
public List<IngredientQuantityModel> Ingredients { get; set; }
}
The purpose of the model is to group a set of IngredientQuantityModels by a Name which is the name of a meal
Need to figure out how to handle list with the ModelTableOutputter. Maybe ModelTableOutputtershould have a use specific to outputting ingredient quantities
The purpose of the model is to group a set of
IngredientQuantityModel
s by aName
which is the name of a meal