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());
            }
        }
Beispiel #4
0
        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));
            }
        }
Beispiel #6
0
        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));
            }
        }