Example #1
0
        public ActionResult ExampleComponent()
        {
            var model = new ExampleComponentModel {
                Title = "Example Component title"
            };

            return(this.View("~/Views/Feature/Example/ExampleComponent.cshtml", model));
        }
        public ActionResult ExampleJsxComponent()
        {
            var model = new ExampleComponentModel {
                Title = "Example Jsx Component title"
            };

            return(this.React("~/Views/Feature/Example/ExampleJsxComponent.jsx", model));
        }