public ActionResult ChangePassword() { CommonCls commonCls = new CommonCls(); if (commonCls.getUserIdFromSession() == 0) { return(Redirect("/Home/Login")); } else { return(View()); } }
public ActionResult ProfileDetails() { CommonCls commonCls = new CommonCls(); if (commonCls.getUserIdFromSession() == 0) { return(Redirect("/Home/Login")); } else { return(View()); } }
public ActionResult VerifiedEmployees() { CommonCls commonCls = new CommonCls(); if (commonCls.getUserIdFromSession() == 0) { return(Redirect("/Home/Login")); } else { return(View()); } }
public ActionResult TrainerRegistration() { CommonCls commonCls = new CommonCls(); if (commonCls.getUserIdFromSession() == 0) { return(Redirect("/Home/Login")); } else { return(View()); } }
public ActionResult RecentChat() { CommonCls commonCls = new CommonCls(); if (commonCls.getUserIdFromSession() == 0) { return(Redirect("/Home/Login")); } else { ChatCustom chatCustom = new ChatCustom(); chatCustom.LstUsers = _service.TrainerRepository.bindTrainers(); chatCustom.lstemp = _service.EmployeeRepository.bindEmployees(); return(View(chatCustom)); } }
public ActionResult NewPackageDetails() { CommonCls commonCls = new CommonCls(); if (commonCls.getUserIdFromSession() == 0) { return(Redirect("/Home/Login")); } else { PackageDetailCustom objpkgdetailscustom = new PackageDetailCustom(); objpkgdetailscustom.lstpackages = _service.PackageRepository.bindPackage(); objpkgdetailscustom.LstActivity = _service.ActivityRepository.bindActivity(); return(View(objpkgdetailscustom)); } }