示例#1
0
        public bool BarCodeIsExisted(string barCode)
        {
            int count = bookDao.GetCountByCarCode(barCode);

            if (count == 1)
            {
                return(true);
            }
            else
            {
                return(false);
            }
        }