コード例 #1
0
        public string CheckAccount(string rdrId, string rdrPwd)
        {
            bool     result   = false;
            Response response = _db.Login();

            if (CheckResponse.ErrorCode(response))
            {
                response = _db.FindReader(rdrId, rdrPwd);
                if (CheckResponse.ErrorCode(response))
                {
                    result = CheckResponse.ContainRdr(response);
                }
            }
            return(result ? "Accept" : "Reject");
        }