Beispiel #1
0
        public IActionResult Index()
        {
            this.ViewData["Message1"] = service1.SaySomething();
            this.ViewData["Message2"] = service2.SaySomething();
            this.ViewData["Message3"] = service2.SaySomething();

            return(View());
        }