diff --git a/Examples/website/FreeSql.Site.UI/Areas/BBS/_ViewStart.cshtml b/Examples/website/FreeSql.Site.UI/Areas/BBS/_ViewStart.cshtml
new file mode 100644
index 00000000..2de62418
--- /dev/null
+++ b/Examples/website/FreeSql.Site.UI/Areas/BBS/_ViewStart.cshtml
@@ -0,0 +1,3 @@
+@{
+ Layout = "~/Views/Shared/_Layout.cshtml";
+}
diff --git a/Examples/website/FreeSql.Site.UI/Areas/Doc/Controllers/DocumentsController.cs b/Examples/website/FreeSql.Site.UI/Areas/Doc/Controllers/DocumentsController.cs
index 7540ae86..f63c6f2d 100644
--- a/Examples/website/FreeSql.Site.UI/Areas/Doc/Controllers/DocumentsController.cs
+++ b/Examples/website/FreeSql.Site.UI/Areas/Doc/Controllers/DocumentsController.cs
@@ -12,7 +12,7 @@ namespace FreeSql.Site.UI.Areas.Doc.Controllers
public class DocumentsController : BaseController
{
// GET: Documents
- public ActionResult Index()
+ public IActionResult Index()
{
return View();
}
diff --git a/Examples/website/FreeSql.Site.UI/Areas/Doc/Views/Documents/Index.cshtml b/Examples/website/FreeSql.Site.UI/Areas/Doc/Views/Documents/Index.cshtml
index b01e239b..0bfed646 100644
--- a/Examples/website/FreeSql.Site.UI/Areas/Doc/Views/Documents/Index.cshtml
+++ b/Examples/website/FreeSql.Site.UI/Areas/Doc/Views/Documents/Index.cshtml
@@ -1,4 +1,8 @@
@*
For more information on enabling MVC for empty projects, visit http://go.microsoft.com/fwlink/?LinkID=397860
*@
+@using Microsoft.AspNetCore.Routing;
+@using Microsoft.AspNetCore.Mvc;
+
+
文档首页
\ No newline at end of file
diff --git a/Examples/website/FreeSql.Site.UI/Areas/Doc/_ViewStart.cshtml b/Examples/website/FreeSql.Site.UI/Areas/Doc/_ViewStart.cshtml
new file mode 100644
index 00000000..2de62418
--- /dev/null
+++ b/Examples/website/FreeSql.Site.UI/Areas/Doc/_ViewStart.cshtml
@@ -0,0 +1,3 @@
+@{
+ Layout = "~/Views/Shared/_Layout.cshtml";
+}
diff --git a/Examples/website/FreeSql.Site.UI/FreeSql.Site.UI.csproj b/Examples/website/FreeSql.Site.UI/FreeSql.Site.UI.csproj
index 8b11fc59..c0b83ea4 100644
--- a/Examples/website/FreeSql.Site.UI/FreeSql.Site.UI.csproj
+++ b/Examples/website/FreeSql.Site.UI/FreeSql.Site.UI.csproj
@@ -18,4 +18,13 @@