示例#1
0
        public List <Person> GetPeopleByLastName(string lastname)
        {
            var people = _db.LoadPeopleDataByLastName(lastname).ToList();

            if (people != null)
            {
                return(people);
            }
            return(null);
        }