public User GetUser(int id)
 {
     using (ToDoStoreContext context = new ToDoStoreContext())
     {
         return context.Users.Include("ToDoItems").FirstOrDefault(u => u.Id == id);
     }
 }
 public ToDoItem GetItem(int id)
 {
     using (ToDoStoreContext context = new ToDoStoreContext())
     {
         return context.ToDoItems.FirstOrDefault(u => u.Id == id);
     }
 }