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

24 lines
574 B
C#
Raw Normal View History

2022-09-26 04:05:23 +03:00
using Microsoft.AspNetCore.Mvc;
using BlueWest.Views.Utils;
using Microsoft.Extensions.Options;
using Controller = Microsoft.AspNetCore.Mvc.Controller;
2022-09-19 05:50:15 +03:00
namespace BlueWest.Views.Controllers;
2022-09-26 04:05:23 +03:00
[System.Web.Mvc.Route("/")]
2022-09-19 05:50:15 +03:00
public class HomeController : Controller
{
private readonly ILogger<HomeController> _logger;
2022-09-26 04:05:23 +03:00
public HomeController(ILogger<HomeController> logger, IOptions<RequestLocalizationOptions> options)
2022-09-19 05:50:15 +03:00
{
_logger = logger;
}
2022-09-26 04:05:23 +03:00
2022-09-19 05:50:15 +03:00
public IActionResult Index()
{
2022-09-26 04:05:23 +03:00
this.HandleGlobalization();
2022-09-19 05:50:15 +03:00
return View();
}
}