using Bootstrap.Client.Models;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
namespace Bootstrap.Client.Controllers
{
///
///
///
public class HomeController : Controller
{
///
///
///
///
public IActionResult Index()
{
return View(new NavigatorBarModel(this));
}
///
///
///
///
[ResponseCache(Duration = 0, Location = ResponseCacheLocation.None, NoStore = true)]
[AllowAnonymous]
public IActionResult Error(int id)
{
return id == 404 ? View("NotFound") : View();
}
}
}