예제 #1
0
 /// <summary>
 /// 获取客户信息
 /// </summary>
 /// <param name="email">客户Email</param>
 /// <returns>客户信息</returns>
 public static CustomerInfo GetCustomerByEmail(string email)
 {
     return(CustomerDA.GetCustomerByEmail(email));
 }
예제 #2
0
        /// <summary>
        /// Determines whether [is exist customer email] [the specified email].
        /// </summary>
        /// <param name="email">The email.</param>
        /// <returns></returns>
        public static bool IsCustomerEmailExist(string email)
        {
            CustomerInfo customer = CustomerDA.GetCustomerByEmail(email);

            return(customer != null);
        }