public ActionResult ForgetPassword(ForgetPassword aForgetPassword)
 {
     Session["UserForgetPassword"]     = null;
     Session["HospitalForgetPassword"] = null;
     if (aForgetPassword.LoginId != null)
     {
         ForgetPassword userForgetPassword = aHomeManager.GetForgetPasswordUser(aForgetPassword);
         if (userForgetPassword != null)
         {
             userForgetPassword.LoginId    = aForgetPassword.LoginId;
             Session["UserForgetPassword"] = userForgetPassword;
             return(RedirectToAction("GetVerification", "Register"));
         }
         else
         {
             TempData["ErrorMessage"] = "Not found anyone with this Login ID.";
             return(RedirectToAction("ForgetPassword", "Register"));
         }
     }
     if (aForgetPassword.ContactPersonMobileNo != null)
     {
         ForgetPassword hospitalForgetPassword = aHomeManager.GetForgetPasswordHospital(aForgetPassword);
         if (hospitalForgetPassword != null)
         {
             hospitalForgetPassword.ContactPersonMobileNo = aForgetPassword.ContactPersonMobileNo;
             Session["HospitalForgetPassword"]            = hospitalForgetPassword;
             return(RedirectToAction("GetVerification", "Register"));
         }
         else
         {
             TempData["ErrorMessage"] = "Not found anyone with this Login ID.";
             return(RedirectToAction("ForgetPassword", "Register"));
         }
     }
     return(View());
 }