FYJ.Blogs开发系列(四)-后台文章Controller
FYJ.Blogs开发系列(五)-前台基页Controller
FYJ.Blogs开发系列(六)-前台主页Controller
FYJ.Blogs开发系列(七)-前台文章Controller
这个页集成了添加和修改
01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 | @model Blogs.ViewModel.MyBlog.Article @{ Layout = null; var contentModel = ViewData["content"] as Blogs.Entity.blog_tb_article_content; if (contentModel == null) { contentModel = new Blogs.Entity.blog_tb_article_content(); } } [object Object] [object Object] [object Object] [object Object] [object Object] [object Object] [object Object] @using (Html.BeginForm("Edit", null, FormMethod.Post, new { Id = "EditForm" })) { @Html.AntiForgeryToken() @Html.ValidationSummary(true) } |