コード例 #1
0
        public IActionResult Index()
        {
            if (_hostingEnvironment.IsDevelopment())
            {
                return(RedirectToAction("Index", "Transactions", new { accountHashedId = "JRML7V" }));
            }

            return(Redirect(_employerUrls.Homepage()));
        }
コード例 #2
0
        public ActionResult Index(string accountHashedId = null)
        {
            if (_environmentService.IsCurrent(DasEnv.LOCAL))
            {
                return(RedirectToAction("Index", "AccountProviders", new { accountHashedId = accountHashedId ?? "JRML7V" }));
            }

            return(Redirect(_employerUrls.Homepage()));
        }