You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
495 B
23 lines
495 B
using Cis.Application;
|
|
using Microsoft.AspNetCore.Authorization;
|
|
using Microsoft.AspNetCore.Mvc;
|
|
|
|
namespace Cis.Web.Entry.Controllers;
|
|
|
|
[AllowAnonymous]
|
|
public class HomeController : Controller
|
|
{
|
|
private readonly ISystemService _systemService;
|
|
|
|
public HomeController(ISystemService systemService)
|
|
{
|
|
_systemService = systemService;
|
|
}
|
|
|
|
public IActionResult Index()
|
|
{
|
|
ViewBag.Description = _systemService.GetDescription();
|
|
|
|
return View();
|
|
}
|
|
}
|
|
|