AspNetCheckedListExample.Models.TestData.TestData C# (CSharp) Method

TestData() public method

public TestData ( ) : System
return System
        public TestData()
        {
            this.People = new List<Person>();
            this.People.Add(new Person() {
                Id = 1, LastName = "Lennon", firstName = "John" });
            this.People.Add(new Person() {
                Id = 2, LastName = "McCartney", firstName = "Paul" });
            this.People.Add(new Person() {
                Id = 3, LastName = "Harrison", firstName = "George" });
            this.People.Add(new Person() {
                Id = 4, LastName = "Starr", firstName = "Ringo" });
        }
TestData