public ActionResult TermsAndConditions()
        {
            var model = new TermsAndConditionsViewModel();
            T_PRT_APP_SETTINGS_CUSTOM cust = _DbPortal.GetT_PRT_APP_SETTINGS_CUSTOM();

            model.TermsAndConditions = cust.TERMS_AND_CONDITIONS;

            return(View(model));
        }
        public IActionResult PortalRegister(string returnUrl = null)
        {
            ViewData["ReturnUrl"] = returnUrl;
            T_PRT_APP_SETTINGS_CUSTOM cust = _DbPortal.GetT_PRT_APP_SETTINGS_CUSTOM();
            var model = new RegisterViewModel
            {
                termsConditions = cust.TERMS_AND_CONDITIONS
            };

            return(View(model));
        }
Beispiel #3
0
        public ActionResult Settings()
        {
            T_PRT_APP_SETTINGS_CUSTOM custSettings = _DbPortal.GetT_PRT_APP_SETTINGS_CUSTOM();
            var model = new SettingsViewModel
            {
                app_settings       = _DbPortal.GetT_PRT_APP_SETTING_List(),
                TermsAndConditions = custSettings.TERMS_AND_CONDITIONS,
                Announcements      = custSettings.ANNOUNCEMENTS
            };

            return(View(model));
        }