mirror of
https://github.com/nsnail/FreeSql.git
synced 2025-06-19 12:28:15 +08:00
新增首页、文档页的静态页面
This commit is contained in:
@ -0,0 +1,26 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using FreeSql.Site.UI.Areas.BBS.Models;
|
||||
using FreeSql.Site.UI.Controllers;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
|
||||
namespace FreeSql.Site.UI.Areas.BBS.Controllers
|
||||
{
|
||||
[Area("BBS")]
|
||||
public class BBSContentController : BaseController
|
||||
{
|
||||
public IActionResult Index()
|
||||
{
|
||||
BBSContentModel model = new BBSContentModel();
|
||||
return View(model);
|
||||
}
|
||||
|
||||
public IActionResult Ask() {
|
||||
BBSContentModel model = new BBSContentModel();
|
||||
return View(model);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
@ -0,0 +1,14 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace FreeSql.Site.UI.Areas.BBS.Models
|
||||
{
|
||||
public class BBSContentModel
|
||||
{
|
||||
public int OrderBy { get; set; }
|
||||
|
||||
public int ContentID { get; set; }
|
||||
}
|
||||
}
|
@ -0,0 +1,9 @@
|
||||
|
||||
@{
|
||||
ViewBag.Title = ".NET文档园 .NET开源ORM - 首页";
|
||||
}
|
||||
@using FreeSql.Site.UI.Areas.BBS.Models;
|
||||
|
||||
<div style="width:100%; height:430px; text-align:center; padding-top:150px; font-size:20px; font-weight:bold; letter-spacing:6px;" >
|
||||
论坛功能正在开发中......
|
||||
</div>
|
Reference in New Issue
Block a user