[fix]Config创建默认配置文件的开关Runtime.CreateConfigOnMissing,仅需对自动创建生效,而不应该阻止用户主动Save
智能大石头 authored at 2024-08-09 00:30:41 石头 committed at 2024-08-10 14:22:24
776.00 B
X
using System.Web.Mvc;

namespace NewLife.Cube.Controllers
{
    /// <summary>主页面</summary>
    [AllowAnonymous]
    public class HomeController : Controller
    {
        /// <summary>主页面</summary>
        /// <returns></returns>
        public ActionResult Index()
        {
            ViewBag.Message = "主页面";

            return View();
        }

        /// <summary>应用程序描述</summary>
        public ActionResult About()
        {
            ViewBag.Message = "应用程序描述";

            return View();
        }

        /// <summary>联系我们</summary>
        public ActionResult Contact()
        {
            ViewBag.Message = "联系我们";

            return View();
        }
    }
}