Area区域路由的配置2
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
namespace LayUICore.Areas.Admin.Controllers
{
public class IndexController : Controller
{
[Area("Admin")]
public IActionResult Index()
{
//https://q.cnblogs.com/q/126307/
return View();
}
}
}
本文来自博客园,作者:.net&new,转载请注明原文链接:https://www.cnblogs.com/wugh8726254/p/13059232.html