Пример #1
0
        public List <PersonDAO> ListPeople()
        {
            List <PersonDAO> people = new List <PersonDAO>();

            foreach (Person person in data.ListPeople())
            {
                people.Add(Mapper.MapToPersonDAO(person));
            }

            return(people);
        }