using Dilon.Application; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; namespace Dilon.Web.Entry.Controllers { [AllowAnonymous] public class HomeController : Controller { private readonly ITestService _testService; public HomeController(ITestService testService) { _testService = testService; } public IActionResult Index() { ViewBag.Description = _testService.GetDescription(); return View(); } } }