Exemplo n.º 1
0
        public bool CheckAuthenticationLoginSMS([FromBody] ACCOUNTModel account)
        {
            USERModel user = new USERRepository().GetUSERByIdAccount(account);

            //Xác thực bằng số điện thoại
            return(AUTHENTICATIONRepository.VerifySMSCode(user.sdt, "84", account.ma_code_xac_thuc));;
        }
Exemplo n.º 2
0
        public bool SendAuthenticationSMS([FromBody] ACCOUNTModel account)
        {
            USERModel user = new USERRepository().GetUSERByIdAccount(account);

            //Xác thực bằng số điện thoại
            return(AUTHENTICATIONRepository.SendVerifySMS(user.sdt, "84"));
        }