public JsonResult ResendOTP()
        {
            try
            {
                var XobjOTP = NewspaperSBTSession.OTP;
                XobjOTP.attemp += 1;
                TimeSpan ts = DateTime.Now - XobjOTP.OPTCreatedDate;

                if (ts.TotalMinutes > 10)
                {
                    return(Json(shared.returnMessageJSON(Messages.OTPExpireDescription, "", true), JsonRequestBehavior.AllowGet));
                }
                NewspaperSBTSession.OTP = null;

                BAL_Email Email  = new BAL_Email();
                PC_OTP    objOTP = new PC_OTP();
                objOTP.OPTP             = bal.getOTP();
                objOTP.OPTCreatedDate   = DateTime.Now;
                NewspaperSBTSession.OTP = objOTP;
                PC_User xuser = new PC_User();
                xuser.OTP      = objOTP.OPTP;
                xuser.Email    = NewspaperSBTSession.CurrentUser.Email;
                xuser.Fullname = NewspaperSBTSession.CurrentUser.Fullname;
                //for testing
                Email.GetEmailTemplate("OTP", xuser);
            }
            catch (Exception)
            {
                return(Json(shared.returnMessageJSON("System Error Try Again..", "", true), JsonRequestBehavior.AllowGet));
            }

            return(Json(shared.returnMessageJSON(Messages.OTPResendSucceesDescription, "", false), JsonRequestBehavior.AllowGet));
        }