Ejemplo n.º 1
0
        /// <summary>
        /// Render the home screen
        /// </summary>
        /// <param name="showLogIn">Should the log in modal be shown</param>
        /// <returns></returns>
        public ActionResult Index(bool?showLogIn)
        {
            Entities.Models.Home.Index model = new Entities.Models.Home.Index();
            if (showLogIn.HasValue)
            {
                TempData["showLogin"] = showLogIn.Value;
            }

            return(View());
        }
Ejemplo n.º 2
0
        /// <summary>
        /// Render the home screen
        /// </summary>
        /// <param name="showLogIn">Should the log in modal be shown</param>
        /// <returns></returns>
        public ActionResult Index(bool? showLogIn)
        {
            Entities.Models.Home.Index model = new Entities.Models.Home.Index();
            if (showLogIn.HasValue)
            {
                TempData["showLogin"] = showLogIn.Value;
            }

            return View();
        }