예제 #1
0
        /// <summary>
        /// 查找邮箱是否已存在
        /// </summary>
        /// <param name="stuAccount">邮箱</param>
        /// <returns>查找结果</returns>
        public bool selectByEmail(string email)
        {
            int count = dao.SelectByEmail(email);

            if (count > 0)
            {
                return(true);
            }
            else
            {
                return(false);
            }
        }