Provides model data for Home/Index.
Ejemplo n.º 1
0
        /// <summary>
        /// GET implementation of the Index action.
        /// </summary>
        /// <returns>The action result.</returns>
        public ActionResult Index()
        {
            HomeIndex model = new HomeIndex()
            {
                LogPath = Server.MapPath("~/App_Data/BlueCollar.log")
            };

            model.Fill(ModelState, false);
            return View(model);
        }