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

            return(Redirect(_employerUrls.Homepage()));
        }
Beispiel #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()));
        }