ArmedCards.Web.Controllers.HomeController.Index C# (CSharp) Метод

Index() публичный Метод

Render the home screen
public Index ( bool showLogIn ) : System.Web.Mvc.ActionResult
showLogIn bool Should the log in modal be shown
Результат System.Web.Mvc.ActionResult
        public ActionResult Index(bool? showLogIn)
        {
            Entities.Models.Home.Index model = new Entities.Models.Home.Index();
            if (showLogIn.HasValue)
            {
                TempData["showLogin"] = showLogIn.Value;
            }

            return View();
        }