Skip to content

Instantly share code, notes, and snippets.

@FraukeN
Created February 7, 2018 21:35
Show Gist options
  • Save FraukeN/9d79851a18854e7bfad24fccd938ea53 to your computer and use it in GitHub Desktop.
Save FraukeN/9d79851a18854e7bfad24fccd938ea53 to your computer and use it in GitHub Desktop.
OverviewVM 1
public class OverviewVM
{
public List<ToDoItem> ToDoItems { get; set; }
public OverviewVM()
{
ToDoItems = new List<ToDoItem>();
ToDoItems.Add(new ToDoItem { Title = "Buy cat food", Description = "It's either that or be ambushed and gnawed" });
ToDoItems.Add(new ToDoItem { Title = "Starch underwear", Description = "It ain't safe if it don't chafe" });
ToDoItems.Add(new ToDoItem { Title = "Start retro girl band", Description = "Frauke and the courgettes" });
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment