ASPMvcFirstApplication.Controllers.HomeController.SecretPage C# (CSharp) Méthode

SecretPage() public méthode

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