Files
zsxt_nbzs_h5/Api/Dilon.Web.Entry/Controllers/HomeController.cs
ky_sunl d1c9e5a71e
2021-04-22 13:37:25 +00:00

24 lines
542 B
C#

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();
}
}
}