Files
zsxt_nbzs_h5/Api/Ewide.Web.Entry/Controllers/HomeController.cs
ky_yusj c300dec039 update
命名空间修正
2021-04-25 14:44:22 +08:00

24 lines
542 B
C#

using Ewide.Application;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
namespace Ewide.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();
}
}
}