public ActionResult Audit(string Mobile) { RegisterUserEntity userEntity = new RegisterUserEntity(); Mobile = Session["Mobile"] == null ? Mobile : Session["Mobile"].ToString(); if (!string.IsNullOrEmpty(Mobile)) { userEntity = registerUserBLL.CheckMobile(Mobile); } ViewBag.userEntity = userEntity; return(View(userEntity)); }