mvc3_temp.Controllers.HomeController.About C# (CSharp) Méthode

About() public méthode

public About ( ) : System.Web.Mvc.ActionResult
Résultat System.Web.Mvc.ActionResult
        public ActionResult About()
        {
            return View();
        }

Usage Example

        public void About()
        {
            // Arrange
            HomeController controller = new HomeController();

            // Act
            ViewResult result = controller.About() as ViewResult;

            // Assert
            Assert.IsNotNull(result);
        }
HomeController