update:修改项目名称从Dilon到Ewide
This commit is contained in:
24
Api/Ewide.Web.Entry/Controllers/HomeController.cs
Normal file
24
Api/Ewide.Web.Entry/Controllers/HomeController.cs
Normal file
@@ -0,0 +1,24 @@
|
||||
using Dilon.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();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user