using Microsoft.AspNetCore.Authentication.Cookies;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
namespace Bootstrap.Admin.Controllers
{
///
///
///
[AllowAnonymous]
public class ToolsController : Controller
{
///
///
///
///
public IActionResult Index()
{
var returnUrl = Request.Query[CookieAuthenticationDefaults.ReturnUrlParameter].ToString();
return Redirect(returnUrl);
}
}
}