public JsonResult ConfirmOTP4Digit(ConfirmOTPModel oTPModel)
        {
            if (oTPModel.UserName != null && oTPModel.Password != null && oTPModel.Last4Digit != null)
            {
                try
                {
                    string userName        = _protector.Unprotect(oTPModel.UserName);
                    string password        = _protector.Unprotect(oTPModel.Password);
                    var    userLogin       = _db.UserLogin.FirstOrDefault(a => a.UserName == userName && a.Password == password);
                    var    userInformation = _db.UserInformation.FirstOrDefault(a => a.Id == userLogin.UserId);
                    if (userInformation.MobileNumber.Substring(7) == oTPModel.Last4Digit)
                    {
                        if (userLogin.Otpcode > 99999)
                        {
                            SendSMS.DoSendSMS(new SendSMSModel
                            {
                                Message      = $"{userLogin.Otpcode} is your login code. Don't reply this message.",
                                MobileNumber = $"88{userInformation.MobileNumber}"
                            });
                        }
                        else
                        {
                            Random rnd      = new Random();
                            int    rnd_Code = rnd.Next(100000, 999999);//6digit random number
                            SendSMS.DoSendSMS(new SendSMSModel
                            {
                                Message      = $"{rnd_Code} is your login code. Don't reply this message.",
                                MobileNumber = $"88{userInformation.MobileNumber}"
                            });

                            userLogin.Otpcode          = rnd_Code;
                            _db.Entry(userLogin).State = EntityState.Modified;
                            _db.SaveChanges();
                        }

                        return(Json("success"));
                    }
                }
                catch (Exception)
                {
                    return(Json(false));
                }
            }
            return(Json(false));
        }