Example #1
0
        public IActionResult OnGet()
        {
            var back = PageStack.GoBack(HttpContext.Session);

            if (back is null)
            {
                return(RedirectToPage("Index"));
            }

            return(Redirect(back.Url));
        }