using System.ComponentModel.DataAnnotations;
using System.Collections.Generic;
public string Name {get;set;}
public class PersonRepository
public IEnumerable<Person> CreateSampleData()
return new List<Person>()
new Person{Id=0,Name="Bob"},
new Person{Id=1, Name = "John"}