Esempio n. 1
0
        public void AliasedAction()
        {
            DemoController controller = new DemoController();

            ContentResult result = controller.AliasedAction() as ContentResult;

            Assert.AreEqual("This Action is accessible via it's alias - Alias.", result.Content);
        }