Exemplo n.º 1
0
        PersonBLLCollection CreatePersonBLLCollection()
        {
            PersonBLLCollection people  = new PersonBLLCollection();
            AuthorBLL           author1 = new AuthorBLL()
            {
                ID        = 1,
                FirstName = "Sam",
                LastName  = "Jacobs"
            };
            AuthorBLL author2 = new AuthorBLL()
            {
                ID        = 2,
                FirstName = "Fran",
                LastName  = "Heathwood"
            };
            AuthorBLL author3 = new AuthorBLL()
            {
                ID        = 3,
                FirstName = "Tom",
                LastName  = "Marrows"
            };
            AuthorBLL author4 = new AuthorBLL()
            {
                ID        = 4,
                FirstName = "Karen",
                LastName  = "Flint"
            };

            people.Add(author1);
            people.Add(author2);
            people.Add(author3);
            people.Add(author4);

            return(people);
        }