コード例 #1
0
        public List <Child> childWithoutNanny()
        {
            List <Child> withoutNanny = new List <Child>();

            foreach (var c in dal.GetAllChild())
            {
                if (dal.ContractExsit(c.ID))
                {
                    withoutNanny.Add(c);
                }
            }
            return(withoutNanny);
        }