Exemplo n.º 1
0
        public string VerifyAccount(string account)
        {
            var member = MemberRepo.GetMemberByAcc(account);

            if (member == null)
            {
                return("查無此會員");
            }
            return(MemberRepo.VerifyAccount(member));
        }
Exemplo n.º 2
0
        public string VerifyAccount(string account, string validateCode)
        {
            var member = _memberRepo.GetMemberByAcc(account);

            if (member != null)
            {
                if (member.validateCode == validateCode)
                {
                    return(_memberRepo.VerifyAccount(member));
                }
            }
            return("查無此會員");
        }