public ActionResult NewPassword(string newpassword, string confirmpassword)
        {
            if (newpassword == "")
            {
                Logging.loggError($"New Password empty error");
                ModelState.AddModelError("", "Please enter a valid password");
                return(View());
            }
            else if (newpassword != confirmpassword)
            {
                Logging.loggError($"Password Don't match");
                ModelState.AddModelError("", "Passwords don't match");
                return(View());
            }
            userBusinessLayer = new UserBusinessLayer();
            Boolean passwordUpdate = userBusinessLayer.UpdateUserPassword(MobileNumber, newpassword);

            if (passwordUpdate)
            {
                Logging.loggInfo($"Password updated of user having mobile number = {MobileNumber}");
                return(Redirect("/Login/Index"));
            }
            else
            {
                ViewBag.OTP = "false";
                ModelState.AddModelError("", "Operation failed.Please try again");
                Logging.loggError($"Unable to update password");
                return(RedirectToAction("Index"));
            }
        }