示例#1
0
        private bool checkDupplicatePublisher(string id)
        {
            bool check = true;

            publisherdao.getAllPublisher().ForEach(delegate(Publisher p)
            {
                if (p.PublisherID == id)
                {
                    check = false;
                }
            });
            return(check);
        }