ASPMvcFirstApplication.Controllers.HomeController.SecretPage C# (CSharp) Method

SecretPage() public method

public SecretPage ( ) : System.Web.Mvc.ActionResult
return System.Web.Mvc.ActionResult
        public ActionResult SecretPage()
        {
            //DB verification
            bool isUserValid = true;
            if (isUserValid)
            {
                return View();
            }
            return View("Index");
        }