CodeLiturgy.Dashboard/BlueWest.Views/Controllers/HomeController.cs

24 lines
574 B
C#

using Microsoft.AspNetCore.Mvc;
using BlueWest.Views.Utils;
using Microsoft.Extensions.Options;
using Controller = Microsoft.AspNetCore.Mvc.Controller;
namespace BlueWest.Views.Controllers;
[System.Web.Mvc.Route("/")]
public class HomeController : Controller
{
private readonly ILogger<HomeController> _logger;
public HomeController(ILogger<HomeController> logger, IOptions<RequestLocalizationOptions> options)
{
_logger = logger;
}
public IActionResult Index()
{
this.HandleGlobalization();
return View();
}
}