BlueCollar.Examples.Mvc.Controllers.HomeController.Index C# (CSharp) Method

Index() public method

GET implementation of the Index action.
public Index ( ) : System.Web.Mvc.ActionResult
return System.Web.Mvc.ActionResult
        public ActionResult Index()
        {
            HomeIndex model = new HomeIndex()
            {
                LogPath = Server.MapPath("~/App_Data/BlueCollar.log")
            };

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